15 Commits

Author SHA1 Message Date
Adam Ramberg
9b027e2308
Added pre change transformers to Variables + Clamp Int / Float (#93)
* 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`
2020-02-16 12:44:46 +01:00
Adam Ramberg
90a505bbd3 v2.1.1 🤖 2020-01-23 23:42:09 +01:00
Favo Yang
a3db8f13e9 docs: add installation options and badges for OpenUPM (#100)
* docs: add installation options and badges

* Minor adjustments to headers in README + added installation instructions of OpenUPM to website

Co-authored-by: Adam Ramberg <adam@mambojambostudios.com>
2020-01-23 20:48:42 +01:00
AdamRamberg
b51de335e0 v2.1.0 🚀 2019-11-28 19:35:59 +01:00
AdamRamberg
babb691792 V2.0.0 🎉 2019-10-24 08:15:45 +02:00
AdamRamberg
d187ce32fc Add missing part to "Quick start" page 2019-10-20 22:25:14 +02:00
AdamRamberg
53a5d0a6c8 Publish 2.0.0-beta.1 2019-10-17 20:43:14 +02:00
AdamRamberg
bfc37e2a2f Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
AdamRamberg
8f8456d38f Add an UniRx example scene 2019-10-09 00:13:33 +02:00
AdamRamberg
e861d4d575 Update UniRx docs 2019-10-08 23:51:21 +02:00
AdamRamberg
a198de5a57 UniRx docs 2019-10-08 01:06:38 +02:00
AdamRamberg
9f86109d9e Added docs for the Generator 2019-10-07 21:37:04 +02:00
AdamRamberg
01fdf45a4b Add basic tutorial 2019-10-07 00:18:45 +02:00
AdamRamberg
269df1bec3 Add website for documentation 2019-10-04 01:37:30 +02:00
AdamRamberg
eb22ac1626 Improve docs - setup basic structure 2019-10-03 23:05:26 +02:00