Exemple #1
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     audioManager = AudioManager.instance;
 }
Exemple #2
0
 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;
     //}
 }