private void OnEnable()
 {
     m_tabs = new TabsBlock(new Dictionary <string, System.Action>()
     {
         { "Variables", VariablesTab },
         { "Events", EventsTab },
         { "Gizmos", GizmosTab }
     });
     m_tabs.SetCurrentMethod(UIObject.lastTab);
     m_subUIObjectsToShow = serializedObject.FindProperty("m_subUIObjectsToShow");
     m_subUIObjectToHide  = serializedObject.FindProperty("m_subUIObjectsToHide");
     m_show        = serializedObject.FindProperty("m_show");
     m_hide        = serializedObject.FindProperty("m_hide");
     m_gizmosColor = serializedObject.FindProperty("m_gizmosColor");
 }
 protected override void OnEnable()
 {
     base.OnEnable();
     m_tabs = new TabsBlock(new Dictionary <string, System.Action>()
     {
         { "Variables", VariablesTab },
         { "Events", EventsTab },
         { "Gizmos", GizmosTab }
     });
     m_tabs.SetCurrentMethod(UIObject.lastTab);
     m_duration  = serializedObject.FindProperty("m_duration");
     m_showDelay = serializedObject.FindProperty("m_showDelay");
     m_hideDelay = serializedObject.FindProperty("m_hideDelay");
     // m_dotweenAnimations = serializedObject.FindProperty("m_dotweenAnimations");
     m_subUIObjectsToShow = serializedObject.FindProperty("m_subUIObjectsToShow");
     m_subUIObjectToHide  = serializedObject.FindProperty("m_subUIObjectsToHide");
     m_show        = serializedObject.FindProperty("m_show");
     m_hide        = serializedObject.FindProperty("m_hide");
     m_gizmosColor = serializedObject.FindProperty("m_gizmosColor");
 }