void Start()
    {
        GameObject bulletSpawnPoint_ = GameObject.FindWithTag("BulletSpawn");

        if (bulletSpawnPoint_ != null)
        {
            bulletInfo = bulletSpawnPoint_.GetComponent <Fire_Bullet> ();
        }
        levelScore = 0;
    }
Пример #2
0
 private void Awake()
 {
     if (instance != null)
     {
         Debug.Log("fuck_V3");
     }
     else
     {
         instance = this;
     }
 }