void Awake() { if (instance == null) { instance = this; } audioManager = AudioManager.instance; }
void Start() { audioManager = AudioManager.instance; playerStat = PlayerStat.instance; shoot = Shoot.instance; projectorie = Projectorie.instance; projectorieLeft = ProjectorieLeft.instance; //if (groundCheckPotion == null) //{ // groundCheckPotion = GameObject.FindGameObjectWithTag("groundCheckPotion").transform; //} }