DoopelPonger
|
Custom inspector for creating SchmittyDoop attack patterns. More...
Public Member Functions | |
void | OnEnable () |
OnEnable is treated the same was as the Awake methods for Monobehaviours, for initializations. OnEnable initializes the reorderable list of actions, button collbacks, and data mappings. The runtimeInformationMap allows the inspector to know the data needed to initialize the action type. While the ballMovementInspectorMap allows the inspector to know what data is needed to initialize the ball movement type. More... | |
override void | OnInspectorGUI () |
OnInspectorGUI is similar to the Update method for Monobehaviours. It draws the custom UI in the inspector. More... | |
Custom inspector for creating SchmittyDoop attack patterns.
A custom inspector is created to help test out different types of attack patterns for Schmitty Doop. The custom inspector allows one to create a list of all the different attack patterns, serialize/deserialize the list to/from files, and try out the attack patterns in the editor. Patterns are saved to the StreamingAssetsPath directory so that the files are accessable in the editor and in the release build of the game.
void CoopActionPatternCreatorInspector.OnEnable | ( | ) |
OnEnable is treated the same was as the Awake methods for Monobehaviours, for initializations. OnEnable initializes the reorderable list of actions, button collbacks, and data mappings. The runtimeInformationMap allows the inspector to know the data needed to initialize the action type. While the ballMovementInspectorMap allows the inspector to know what data is needed to initialize the ball movement type.
override void CoopActionPatternCreatorInspector.OnInspectorGUI | ( | ) |
OnInspectorGUI is similar to the Update method for Monobehaviours. It draws the custom UI in the inspector.