Class AlgorithmGeneratorEditor
Custom Unity Editor Inspector panel for the algorithm generation utility.
Inheritance
object
AlgorithmGeneratorEditor
Namespace: AS2
Assembly: .dll
Syntax
public class AlgorithmGeneratorEditor : Editor
Fields
| Edit this page View SourcealgoName
The base name of the algorithm to generate.
Declaration
private SerializedProperty algoName
Field Value
Type | Description |
---|---|
SerializedProperty |
className
The name for the algorithm class.
Declaration
private SerializedProperty className
Field Value
Type | Description |
---|---|
SerializedProperty |
displayName
The name under which the new algorithm should be displayed.
Declaration
private SerializedProperty displayName
Field Value
Type | Description |
---|---|
SerializedProperty |
numPins
The number of pins per edge used by the algorithm.
Declaration
private SerializedProperty numPins
Field Value
Type | Description |
---|---|
SerializedProperty |
Methods
| Edit this page View SourceOnEnable()
Declaration
private void OnEnable()
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()