public static void Show(Unit unit) { BattleManager battleManager = GameObject.FindObjectOfType <BattleManager>(); BattleData battleData = battleManager.battleData; ChainInfo chainInfo = battleData.GetChainInfo(unit); if (chainInfo == null) { return; } List <GameObject> targetArea = chainInfo.GetTargetArea(); battleData.tileManager.PaintTiles(targetArea, TileColor.Yellow); }