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;
    }
Example #3
0
 void Awake()
 {
     motor = GetComponent <SimpleMotor3D>();
 }
Example #4
0
 void Awake()
 {
     motor = GetComponent<SimpleMotor3D>();
 }