void Awake() { //#if UNITY_EDITOR //Application.LoadLevel(9); //#endif if (_instance == null) { _instance = this; // DontDestroyOnLoad(this); } AssignGhosts(); }
void Start() { GM = GameObject.Find("Game ManagerPac").GetComponent <GameManagerPac>(); _dest = transform.position; sourceprofe = gameObject.AddComponent <AudioSource>(); }