// Start is called before the first frame update
    void Start()
    {
        nebulaFighterHP = GameObject.FindGameObjectWithTag("Player").GetComponent <Common_HP>();
        snipeBulletData = snipeBullet.GetComponent <Common_Bullet>();
        weaponLevel     = GameObject.FindGameObjectWithTag("Player").GetComponent <Player_NebulaWeaponControl>().baseBulletLevel;
        isSnipeActived  = GameObject.FindGameObjectWithTag("Player").GetComponent <Player_NebulaWeaponControl>().isSnipeActived;

        playerSoundManager = GameObject.FindGameObjectWithTag("PlayerSound").GetComponent <SE_PlayerSoundManager>();
    }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     playerSoundManager = GameObject.FindGameObjectWithTag("PlayerSound").GetComponent <SE_PlayerSoundManager>();
 }
    // Start is called before the first frame update
    void Start()
    {
        turretBulletData = turretBullet.GetComponent <Common_Bullet>();

        playerSoundManager = GameObject.FindGameObjectWithTag("PlayerSound").GetComponent <SE_PlayerSoundManager>();
    }