Пример #1
0
 // Use this for initialization
 void Start()
 {
     attr = GetComponent<ClashUnitAttributes> () as ClashUnitAttributes;
     ai = GetComponent<ClashNavMeshAI> () as ClashNavMeshAI;
     attacking = false;
     hasEnemy = true;
 }
 // Use this for initialization
 void Start()
 {
     attr      = GetComponent <ClashUnitAttributes> () as ClashUnitAttributes;
     ai        = GetComponent <ClashNavMeshAI> () as ClashNavMeshAI;
     attacking = false;
     hasEnemy  = true;
 }