Class ConfigurationEditorBehavior
Custom editor implementation for the ConfigurationEditor.
Inheritance
object
ConfigurationEditorBehavior
Namespace: AS2
Assembly: .dll
Syntax
public class ConfigurationEditorBehavior : Editor
Fields
| Edit this page View Sourceeditor
Reference to the editor script containing the config data.
Declaration
private ConfigurationEditor editor
Field Value
Type | Description |
---|---|
ConfigurationEditor |
Methods
| Edit this page View SourceLoadConfig()
Tries loading the configuration data from the simulator's configuration file.
Declaration
private void LoadConfig()
OnEnable()
Declaration
public void OnEnable()
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
ResetConfig()
Resets the configuration data of the editor to its default settings.
Declaration
private void ResetConfig()
SaveConfig()
Tries storing the current configuration data in the simulator's configuration file.
Declaration
private void SaveConfig()