protected virtual void Start() { mapAndStatsManager = FindObjectOfType <MapAndStatsManager>(); meshRenderer = GetComponent <MeshRenderer>(); initialMaterial = meshRenderer.material; guiSkin = Resources.Load <GUISkin>("GUI/Provisional Skin"); }
//private Steps guidanceSteps; // Start is called before the first frame update void Start() { // // if(GameManager.instance.gameStep) // mapAndStatsManager = FindObjectOfType <MapAndStatsManager>(); audioSource = GetComponent <AudioSource>(); //audioSource.clip = audioClips[0]; //audioSource.Play(); //mapAndStatsManager.PlayerLocked = true; }