// private AudioManager audioManager; // Use this for initialization void Start() { flypiegon = piegonObj.GetComponent <FlyPiegon> (); // audioManager = AudioManager.instance; // if (audioManager == null) { // Debug.LogError ("Attention, le audio manager n'a pas été trouvé"); // } }
// Use this for initialization void Start() { fp = Piedgon.GetComponent <FlyPiegon> (); audioManager = AudioManager.instance; if (audioManager == null) { Debug.LogError("Attention, le audio manager n'a pas été trouvé"); } }
// public GameObject spawnPointEagle1; // public GameObject spawnPointEagle2; void Start() { flypiegon = piegonObj.GetComponent <FlyPiegon> (); }