层级
This commit is contained in:
parent
c4a922aba8
commit
4e629d3da4
@ -31,6 +31,7 @@ function BattleUnitComp:playBorn()
|
||||
end
|
||||
|
||||
function BattleUnitComp:playSwitchIn()
|
||||
self.baseObject:getTransform():SetAsLastSibling()
|
||||
self:changeState(UNIT_STATE.SWITCH_IN)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user