The intent of this refactor is to reduce boilerplate code in the SetVariable.cs and
SetVariableEditor.cs files. Additionaly, the intent is to move variable specific
information from the SetVariable.cs file into the Variable.cs and the respecting
variable type files.
Fixed indentlevel for EventHandler:DrawProperties
Added Playground to the FungusExamples
Added Vector3 FungusCommands
- Fields, Normalise, Convert to Vector2, Arithetic
Added TransformProperty FungusCommand
-Get an Set a transform's fields and properties./
-Does not currently support rotation, localRotation nor the Mat4x4 commands as we do not have the appropriate FungusVariables to store them in
Added FungusCommand to Reload Current Scene
Added Rigidbody2D FungusCommands
- AddForce, AddTorque, StopMotion
Added Input GetAxis fungusCommand, fetch Input.GetAxis and store in a FloatData
SpawnObject FungusCommand now can store the gameobject it instantiates and can spawn at itself
Destroy FungusCommand can now be told to pass down a delay to Destroy
Updated Docs with all changes and addtions
Added custom property drawer for Variable properties.
Updated If, Set Variable, etc. to use new property drawer.
Added new Set Save Profile, Save Variable, Load Variable & Delete Save
Key commands.
Added Other category for non-core variable types.
Wider variable window to fit long type names.
Use internal editor component paste instead of reflection to paste
commands
SetVariable only supports 4 basic variable types.
Simplified definition for new variable types.
Added new variable types to support core Unity types.
Changed layout of Variables window to support editable value
Public variables in other FungusScripts appear in the variable picker
popup menu.
Variables now have a public value property and remember their starting
value for when they are reset.
Disabled LoadGlobals / SaveGlobals commands.
Changed all variable classes to use simple public value variable.
Added FungusScript.GetPublicVariables()
Deleted GlobalVariables class.
Added Variables test scene