public void Init() { unitMove = gameObject.GetComponent <UnitMove>(); unitAttack = gameObject.GetComponent <UnitAttack>(); turnManager = FindObjectOfType <TurnManager>(); _Ui = FindObjectOfType <CurrentCharacterInformation>(); TurnManager.AddUnitToGame(gameObject.tag, this); }