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