// Update is called once per frame void Update() { if (EventInformation.BeginEvent) { Instantiate(EventInformation.PlayingEventPrefab); EventInformation.NowPlaying = true; EventInformation.BeginEvent = false; HideUI(); ModeManager.ChangeEventMode(); } }