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