Wanzyee Studio
StackTweakPanel

Stack panel to show and edit variables of VariableTweaker attached above this. More...

Inherits MonoBehaviour, and IStackPanel.

Public Member Functions

GUIContent GetPanelTitle ()
 Get the panel title with the component and file name. More...
 
void DrawTitleAddon ()
 Draw add-on GUI at the end of the title bar with the operation buttons. More...
 
void DrawPanelGUI ()
 Draw the panel content GUI to show the variables if valid, otherwise warning. More...
 

Detailed Description

Stack panel to show and edit variables of VariableTweaker attached above this.

The target VariableTweaker is dynamic on the same UnityEngine.GameObject.

Member Function Documentation

GUIContent GetPanelTitle ( )

Get the panel title with the component and file name.

Also update VariableTweaker target in the meantime, the first entry of all GUI.

Returns
The panel title.

Implements IStackPanel.

void DrawTitleAddon ( )

Draw add-on GUI at the end of the title bar with the operation buttons.

Show expand and fold buttons if variables valid, load and save buttons if file path valid. Also update variables in the meantime.

Implements IStackPanel.

void DrawPanelGUI ( )

Draw the panel content GUI to show the variables if valid, otherwise warning.

Implements IStackPanel.