// 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; }