| | |
| | | |
| | | blocker.onSortingChanged = OnSortingChanged; |
| | | |
| | | if (0 != heroSetedSortingOrder) |
| | | { |
| | | if (BattleConst.UnactiveHeroSortingOrder == heroSetedSortingOrder) |
| | | { |
| | | heroSetedSortingOrder = effectConfig.frontBack == 1 ? BattleConst.UnactiveHeroFrontSortingOrder : BattleConst.UnactiveHeroBackSortingOrder; |
| | | } |
| | | else |
| | | { |
| | | heroSetedSortingOrder = effectConfig.frontBack == 1 ? BattleConst.ActiveHeroFrontSortingOrder : BattleConst.ActiveHeroBackSortingOrder; |
| | | } |
| | | |
| | | blocker.SetSortingOrder(heroSetedSortingOrder); |
| | | } |
| | | |
| | | spineComp.enabled = true; |
| | | |
| | | spineComp.timeScale = speedRate; |