示例#1
0
        //PUBLIC

        /// <summary>
        /// Render the window UI controls to the display area
        /// </summary>
        public override void OnInspectorGUI()
        {
            if (screenStateMachine != null)
            {
                screenStateMachine.DoLayoutNavigation();
                screenStateMachine.DoLayoutActiveScreen();
            }
        }
示例#2
0
 /// <summary>
 /// Render the window UI controls to the display area
 /// </summary>
 protected virtual void OnGUI()
 {
     if (screenStateMachine != null)
     {
         screenStateMachine.DoLayoutNavigation();
         screenStateMachine.DoLayoutActiveScreen();
     }
 }