From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Battle/BattleField/BattleRootNode.cs |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/Main/System/Battle/BattleField/BattleRootNode.cs b/Main/System/Battle/BattleField/BattleRootNode.cs
index 128b941..96c2ec1 100644
--- a/Main/System/Battle/BattleField/BattleRootNode.cs
+++ b/Main/System/Battle/BattleField/BattleRootNode.cs
@@ -27,6 +27,17 @@
 	private List<GameObject> _blueTeamNodeList = new List<GameObject>();
 
 	public RawImage imgBackground;
+	public RectTransform bgPos1;
+	public RectTransform bgPos2;
+	public RectTransform battleNode;
+	public RectTransform battleNodePos1;
+	public RectTransform battleNodePos2;
+
+	public RendererAdjuster skillMaskAdjuster;
+
+	public RendererAdjuster battleStartAdjuster;
+
+	public RendererAdjuster backgroundAdjuster;
 
 	void Awake()
 	{
@@ -39,6 +50,10 @@
 			_blueTeamNodeList.Add(blueTrans.gameObject);
 		}
 		DontDestroyOnLoad(gameObject);
+
+
+
+		// SetSortingOrder();
 	}
 
 	public void SetBackground(Texture texture)
@@ -46,8 +61,16 @@
 		if (imgBackground != null)
 		{
 			imgBackground.texture = texture;
+			imgBackground.raycastTarget = false;
 			// imgBackground.SetNativeSize();
 		}
+	}
+
+	public void SetSortingOrder()
+	{
+		skillMaskAdjuster.SetSortingOrder(BattleConst.BlockerSortingOrder);
+		battleStartAdjuster.SetSortingOrder(BattleConst.BattleWinSortingOrder + 1);//鏈�楂樺眰
+		backgroundAdjuster.SetSortingOrder(BattleConst.BattleBackgroundOrder);//鏈�浣庡眰
 	}
 
 	public Transform skillBackNode;
@@ -55,4 +78,6 @@
 	public Transform skillFrontNode;
 
 	public GameObject skillMaskNode;
+
+	public GameObject battleStartNode;
 }
\ No newline at end of file

--
Gitblit v1.8.0