// Start is called before the first frame update void Awake() { sceneManager = GameObject.FindGameObjectWithTag("SceneManagerObject").GetComponent <PhobiaSceneManager>(); eventSystem = GameObject.Find("EventSystem").GetComponent <EventSystem>(); scoreDisplayColor = scoreText.color; }
// Start is called before the first frame update void Start() { sceneManager = GameObject.FindGameObjectWithTag("SceneManagerObject").GetComponent <PhobiaSceneManager>(); }