// Use this for initialization void Start() { storyEngine = GameObject.FindGameObjectWithTag("StoryEngine").GetComponent <StoryEngineMono>(); image.SetActive(false); indicator.SetActive(true); nextIndicator.SetActive(storyEngine.AdviceIndex() == (int)thisLocation); }
// Use this for initialization void Start() { mapObject.SetActive(false); storyEngineInstance = GameObject.FindGameObjectWithTag("StoryEngine").GetComponent <StoryEngineMono>(); mapCanvas = GameObject.FindGameObjectWithTag("MapCanvas"); //cameraObject.SetActive(true); //RandomizeFactoidText(); SetNextLocationText(); }