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