示例#1
0
//	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é");
//		}
    }
示例#2
0
    // 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é");
        }
    }
示例#3
0
//	public GameObject spawnPointEagle1;
//	public GameObject spawnPointEagle2;

    void Start()
    {
        flypiegon = piegonObj.GetComponent <FlyPiegon> ();
    }