* Make Examples path check OS agnostic.
* Examples path check OS agnostic.
* Update Runtime.cs
* Re-generate and patch back in type specific changes
* Add missing UnityEngine using.
* Marked as not sealed
* Support the current value type as a conditional.
* Nested if blocks
* Use next char instead of next linefeed.
* Remove debug lines.
* Keep Atom Base Variable sepecfic code.
* Fix position of endif
* Add Raise for void type
* Add void and FSM specific logic
* Add is numeric conditional
* Add more type specific logic
* Add is Vector to generator.
* Add type specific logic
* Add collider type
* Add color specific logic
* Working on whitespace diffs
* Working on whitespace diffs
* remove unused test assembly
* removed example nested if
* test comment removed after regen
* missing ValueEquals
* missing ValueEquals on colliders
* missing color speciifc code.
* whitesapce cleanup
* whitesapce cleanup
* whitesapce cleanup
* whitesapce cleanup
* whitesapce cleanup
* whitesapce cleanup
* remove temp debug
* Generated events now follows editoconfig. + Inline conditionals now supports white spaces.
Co-authored-by: jrmacgill <jmacgill@gmail.com>
Co-authored-by: Adam Ramberg <adam@mambojambostudios.com>
* Added pre change transformers to Variable + Clamp Value Function (first pre change transformer implementation)
- Added a list of pre change transformers to AtomVariable
- Added docs
- Added two AtomFunctions - ClampInt and ClampFloat
- Added custom editors for ClampInt and ClampFloat
- AtomFunction<T, T> is not part of the generator
- Regenerated all the Atoms
* - Created a base class for the editor for ClampFloat and ClampInt. Apparently it is not allowed to have multiple CustomEditor attributes defined for the same class. To implement this I also created an interface called `IIsValid` (for casting purposes in the editor).
- Initialize `PreChangeTransformers ` at declaration and removed initialization `OnEnable`
- Moved call to `RunPreChangeTransformers ` from `OnEnable` to `OnValidate`. Running it 2 times, once for initialValue and once for value since value can be changed at runtime via editor.
- Made the variable PreChangeTransformers private and created a property instead in order to make it impossible to overwrite the list with `null` from the outside.
- Moved `ClampInt` and `ClampFloat` in the `CreateAssetMenu` for `Unity Atoms/Functions/Transformers`