Ejemplo n.º 1
0
    void Awake()
    {
//#if UNITY_EDITOR
        //Application.LoadLevel(9);
//#endif
        if (_instance == null)
        {
            _instance = this;
            // DontDestroyOnLoad(this);
        }


        AssignGhosts();
    }
Ejemplo n.º 2
0
 void Start()
 {
     GM          = GameObject.Find("Game ManagerPac").GetComponent <GameManagerPac>();
     _dest       = transform.position;
     sourceprofe = gameObject.AddComponent <AudioSource>();
 }