Commit Graph

20 Commits

Author SHA1 Message Date
AdamRamberg
b51de335e0 v2.1.0 🚀 2019-11-28 19:35:59 +01:00
Oliver Biwer
1dd2baeaec Better user guidance for working with AtomVariables (#70)
* #69 added custom editor for Variable Types, to guide the usage flow and reduce errors.

* allows unlocking of initialvalue in playmode

* adjustments to Variable Inspector

* Generator now works with all kinds of setups. just select the Packages folder when calling RegenerateAll.
Used this to regenerate the CustomEditors

* supports now structs

* Added RaiseButtons in VariableEditor. #72
Adding simple logging helper on listeners, for fast debugging.

* Call `serializedObject.Update();` before `OnInspectorGUI` in the editor script in order to update old value when changing value.
Show children for PropertyFields for initial and old value.
Some minor refactoring - renaming variables
Clean up in `RegenereateAllAtoms`
Use `OnEnable` instead of `OnAfterDeserialize` when setting inital value for variable. `OnAfterDeserialize` was causing major issues with the custom editor, eg. it did run when focusing a Variable and showing the inspector, basically making it worthless to change or even inspect the Variable at runtime. `OnEnable` is only called ones when the ScriptableObject is loaded in runtime, which is what we really want. This has been tested running in the editor and in builds.
Add missing editors scripts `TouchUserInputVariableEditor`and `SceneFieldVariableEditor`
2019-11-14 12:59:11 +01:00
IceTrooper
23a8873462 Changed AddComponentMenu names for Listeners/Hooks (#84)
* changed AddComponentMenu names for Listeners

* renamed AddComponentMenu Listeners names in other packages

* renamed AddComponentMenu for hooks

* renamed double Listeners to "x 2" convention
2019-11-13 08:59:39 +01:00
AdamRamberg
babb691792 V2.0.0 🎉 2019-10-24 08:15:45 +02:00
AdamRamberg
cd90f0e667 Remove all FormerlySerializedAs attributes 2019-10-18 17:36:10 +02:00
AdamRamberg
299dc195e2 - Added a top menu bar option to regenerate all existing Atoms. Nifty when developing the library.
- Added the option to use a Constant in Atom References. Related to #58
2019-10-16 18:02:08 +02:00
AdamRamberg
bfc37e2a2f Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
AdamRamberg
47265591e6 Generate more docs for scene mgmt 2019-10-15 23:31:21 +02:00
AdamRamberg
afcb782fd6 Various docs fixes 2019-10-15 23:20:05 +02:00
AdamRamberg
867d360ebf Regenerate docs for SceneField Atoms 2019-10-15 22:39:20 +02:00
AdamRamberg
9822202acd UseIcon -> EditorIcon 2019-10-14 16:51:54 +02:00
AdamRamberg
0f88039fef Fix assembly references 2019-10-13 22:47:22 +02:00
AdamRamberg
0b683448fb Added eslint + prettier and updated .editorconfig 2019-10-07 20:47:30 +02:00
AdamRamberg
327dd87222 Use NPM instead of Github registry 2019-10-03 22:00:36 +02:00
AdamRamberg
46af4f9f3a Fix warnings when importing package 2019-10-03 21:34:57 +02:00
AdamRamberg
3431832f6c Add publish scripts to Github registry 2019-10-03 17:23:09 +02:00
AdamRamberg
b88e90ca47 Update SceneField with new icon system 2019-10-02 17:49:06 +02:00
AdamRamberg
e80a082c6d Generate new SceneField atoms 2019-10-01 23:45:42 +02:00
AdamRamberg
7683acb9bb Add sub unity atoms namespace to generator + generate new atoms for TouchUserInput 2019-10-01 23:26:25 +02:00
AdamRamberg
416426f026 New repo structure 2019-10-01 17:27:22 +02:00