Esempio n. 1
0
 protected void BaseUnitInitialization()
 {
     orderableObject = GetComponent <OrderableObject>();
     fractionMember  = GetComponent <FractionMember>();
     agent           = GetComponent <NavMeshAgent>();
     damageSystem    = GetComponent <DamageSystem>();
     damageSystem.SetMaxHp(MaxHp);
     damageSystem.SetHpToMax();
 }