From 58ce5ad4d8d0f6ae5cd60d2d8c2843f70400868a Mon Sep 17 00:00:00 2001 From: gaoxin Date: Sat, 27 Nov 2021 16:28:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=98=E6=96=97=E3=80=91=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=88=98=E6=96=97=E8=B7=B3=E8=BF=87=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Test/BattleTestPanel.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Test/BattleTestPanel.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Test/BattleTestPanel.lua index 8f662ba9dd..8bd5337d1f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Test/BattleTestPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Test/BattleTestPanel.lua @@ -257,6 +257,8 @@ function this:OnSortingOrderChange() orginLayer = this.sortingOrder BattleView:OnSortingOrderChange(this.sortingOrder) + this.UpRoot:GetComponent("Canvas").sortingOrder = this.sortingOrder + 10 + this.DownRoot:GetComponent("Canvas").sortingOrder = this.sortingOrder + 10 end --界面打开时调用(用于子类重写)