Commit 43f4f084 authored by SherryChaos's avatar SherryChaos

fix attack line Depth bug

parent 47276424
...@@ -684,6 +684,8 @@ namespace MDPro3 ...@@ -684,6 +684,8 @@ namespace MDPro3
var lineManager = attackLine.GetComponent<ElementObjectManager>(); var lineManager = attackLine.GetComponent<ElementObjectManager>();
var line1 = lineManager.GetElement<LineRenderer>("arrowlimeRollover"); var line1 = lineManager.GetElement<LineRenderer>("arrowlimeRollover");
var line2 = lineManager.GetElement<LineRenderer>("arrowRollover"); var line2 = lineManager.GetElement<LineRenderer>("arrowRollover");
line1.sortingLayerName = "DuelEffect_High";
line2.sortingLayerName = "DuelEffect_High";
line1.material.renderQueue = 4000; line1.material.renderQueue = 4000;
line2.material.renderQueue = 4000; line2.material.renderQueue = 4000;
line1.material.SetTexture("_Texture2DAsset_b6d1fd99174c608f800b61fcd5471719_Out_0", TextureManager.container.fxt_Arrow_003); line1.material.SetTexture("_Texture2DAsset_b6d1fd99174c608f800b61fcd5471719_Out_0", TextureManager.container.fxt_Arrow_003);
...@@ -702,6 +704,7 @@ namespace MDPro3 ...@@ -702,6 +704,7 @@ namespace MDPro3
yield return null; yield return null;
targetLine = ie.Current; targetLine = ie.Current;
var line = targetLine.transform.GetChild(0).GetComponent<LineRenderer>(); var line = targetLine.transform.GetChild(0).GetComponent<LineRenderer>();
line.sortingLayerName = "DuelEffect_High";
line.material.renderQueue = 4000; line.material.renderQueue = 4000;
line.material.SetTexture("_Texture2DAsset_b6d1fd99174c608f800b61fcd5471719_Out_0", TextureManager.container.fxt_Arrow); line.material.SetTexture("_Texture2DAsset_b6d1fd99174c608f800b61fcd5471719_Out_0", TextureManager.container.fxt_Arrow);
line.material.SetTexture("_Texture2DAsset_46a0b6b632b7ad8a9a0dbeab8e0a7fa5_Out_0", TextureManager.container.fxt_Arrow_004); line.material.SetTexture("_Texture2DAsset_46a0b6b632b7ad8a9a0dbeab8e0a7fa5_Out_0", TextureManager.container.fxt_Arrow_004);
...@@ -718,6 +721,7 @@ namespace MDPro3 ...@@ -718,6 +721,7 @@ namespace MDPro3
yield return null; yield return null;
equipLine = ie.Current; equipLine = ie.Current;
var line = equipLine.transform.GetChild(0).GetComponent<LineRenderer>(); var line = equipLine.transform.GetChild(0).GetComponent<LineRenderer>();
line.sortingLayerName = "DuelEffect_High";
line.material.renderQueue = 4000; line.material.renderQueue = 4000;
line.material.SetTexture("_Texture2DAsset_5b426b3b88fc4e3c873ed973f68902bd_Out_0", TextureManager.container.fxt_Arrow); line.material.SetTexture("_Texture2DAsset_5b426b3b88fc4e3c873ed973f68902bd_Out_0", TextureManager.container.fxt_Arrow);
line.material.SetTexture("_Texture2DAsset_32775df679384275b23b5efed70b243e_Out_0", TextureManager.container.fxt_Arrow_004); line.material.SetTexture("_Texture2DAsset_32775df679384275b23b5efed70b243e_Out_0", TextureManager.container.fxt_Arrow_004);
......
...@@ -134,8 +134,9 @@ PlayerSettings: ...@@ -134,8 +134,9 @@ PlayerSettings:
16:10: 1 16:10: 1
16:9: 1 16:9: 1
Others: 1 Others: 1
bundleVersion: 0.6.1 bundleVersion: 0.6.2
preloadedAssets: [] preloadedAssets:
- {fileID: 11400000, guid: 5fb02d2098f52054b89ce4a9f63ba9ee, type: 2}
metroInputSource: 0 metroInputSource: 0
wsaTransparentSwapchain: 0 wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1 m_HolographicPauseOnTrackingLoss: 1
...@@ -529,7 +530,7 @@ PlayerSettings: ...@@ -529,7 +530,7 @@ PlayerSettings:
m_APIs: 0b000000 m_APIs: 0b000000
m_Automatic: 1 m_Automatic: 1
- m_BuildTarget: WindowsStandaloneSupport - m_BuildTarget: WindowsStandaloneSupport
m_APIs: 0200000012000000150000000b000000 m_APIs: 0b000000020000001200000015000000
m_Automatic: 0 m_Automatic: 0
m_BuildTargetVRSettings: m_BuildTargetVRSettings:
- m_BuildTarget: Standalone - m_BuildTarget: Standalone
......
...@@ -83,6 +83,6 @@ TagManager: ...@@ -83,6 +83,6 @@ TagManager:
- name: TutorialArrow - name: TutorialArrow
uniqueID: 1258933669 uniqueID: 1258933669
locked: 0 locked: 0
- name: DuelEffet_High - name: DuelEffect_High
uniqueID: 1678138093 uniqueID: 1678138093
locked: 0 locked: 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment