public override void OnEnter() { atk = gameMode.ChapterManager.GetCharacterFromCoord(AttackInfo.attacker.GetTileCoord()); def = gameMode.ChapterManager.GetCharacterFromCoord(AttackInfo.defender.GetTileCoord()); atkSr = atk.GetSpriteRender(); defSr = def.GetSpriteRender(); atk_direction = PositionMath.GetDirection(atk.GetTileCoord(), def.GetTileCoord()); gameMode.unitShower.SetDirection(atk.GetSpriteRender(), atk_direction); def_direction = PositionMath.GetDirection(def.GetTileCoord(), atk.GetTileCoord()); gameMode.unitShower.SetDirection(def.GetSpriteRender(), def_direction); gameMode.UIManager.ShowAttackInfo(atk.Logic, def.Logic); Utils.GameUtil.DelayFunc(this, Shake, 0.25f); }