public override void OnInspectorGUI() { DrawDefaultInspector(); Script_DayNotificationManager t = (Script_DayNotificationManager)target; if (GUILayout.Button("Play Map Notification")) { t.PlayDayNotification(); } }
// ---------------------------------------------------------------------- public void Setup() { if (Control == null) { Control = this; } else if (Control != this) { Destroy(this.gameObject); } timelineController = GetComponent <Script_TimelineController>(); dayNotification.Setup(); isInteractAfter = true; }