void Awake() { motor = GetComponent<SimpleMotor3D>(); _shootScript = GetComponent<EnemyShoot>(); //targetLocation = ((GameObject)Instantiate(AttackLocationPrefab, transform.position, Quaternion.identity)).GetComponent<AttackLocation>(); //targetLocation.available = false; }
void Awake() { motor = GetComponent <SimpleMotor3D>(); _shootScript = GetComponent <EnemyShoot>(); //targetLocation = ((GameObject)Instantiate(AttackLocationPrefab, transform.position, Quaternion.identity)).GetComponent<AttackLocation>(); //targetLocation.available = false; }
void Awake() { motor = GetComponent <SimpleMotor3D>(); }
void Awake() { motor = GetComponent<SimpleMotor3D>(); }