Beispiel #1
0
 void Start()
 {
     if (fillPoint == null)
     {
         fillPoint = GameObject.Find("FirePoint").GetComponent <Atirador> ();
     }
 }
Beispiel #2
0
 void Start()
 {
     if (fillPoint == null)
     {
         fillPoint = GameObject.Find("FirePoint").GetComponent <Atirador> ();
     }
     dir = new Vector3(0, -1, 0);
 }
Beispiel #3
0
 void Start()
 {
     if (atScript == null)
     {
         atScript = GameObject.Find("FirePoint").GetComponent <Atirador>();
     }
     enemyLife  = Random.Range(50, 110);
     manaAmount = Random.Range(1, 5);
 }
Beispiel #4
0
    void Start()
    {
        startedLastPattern = false;
        startedPattern1    = false;
        startedPattern2    = false;
        startedPattern3    = false;

        speed = 1;
        if (fillPoint == null)
        {
            fillPoint = GameObject.Find("FirePoint").GetComponent <Atirador> ();
        }

        canShoot                      = false;
        timeToSpawnBullet             = 3;
        SpawnControllerX.isBossActive = true;
        dir       = new Vector3(0.0f, -1.2f, 0.0f);
        boss1Life = 12000;
    }