unity-atoms/Packages/Core/Runtime
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
..
Actions Remove all FormerlySerializedAs attributes 2019-10-18 17:36:10 +02:00
Attributes UseIcon -> EditorIcon 2019-10-14 16:51:54 +02:00
Base #41 - Create BaseAtomListener including dev desc 2019-10-16 19:43:05 +02:00
Constants Regenerate docs for Vector3 Atoms 2019-10-15 22:34:48 +02:00
Events Regenerate docs for Void Atoms 2019-10-15 22:37:15 +02:00
Extensions New repo structure 2019-10-01 17:27:22 +02:00
Functions Document Core WIP 2019-10-15 20:44:25 +02:00
Listeners Better user guidance for working with AtomVariables (#70) 2019-11-14 12:59:11 +01:00
Lists Regenerate docs for Vector3 Atoms 2019-10-15 22:34:48 +02:00
Observables New repo structure 2019-10-01 17:27:22 +02:00
References Update AtomReference.cs 2019-11-11 21:01:10 +01:00
Types Docs WIP 2019-10-15 22:02:44 +02:00
UnityEvents Regenerate docs for Void Atoms 2019-10-15 22:37:15 +02:00
Utils Better user guidance for working with AtomVariables (#70) 2019-11-14 12:59:11 +01:00
Variables Better user guidance for working with AtomVariables (#70) 2019-11-14 12:59:11 +01:00
Actions.meta New repo structure 2019-10-01 17:27:22 +02:00
AssemblyInfo.cs New repo structure 2019-10-01 17:27:22 +02:00
AssemblyInfo.cs.meta New repo structure 2019-10-01 17:27:22 +02:00
Attributes.meta New simpler / better icon system 2019-10-02 17:21:27 +02:00
Base.meta New repo structure 2019-10-01 17:27:22 +02:00
Constants.meta New repo structure 2019-10-01 17:27:22 +02:00
Events.meta New repo structure 2019-10-01 17:27:22 +02:00
Extensions.meta New repo structure 2019-10-01 17:27:22 +02:00
Functions.meta New repo structure 2019-10-01 17:27:22 +02:00
Listeners.meta New repo structure 2019-10-01 17:27:22 +02:00
Lists.meta New repo structure 2019-10-01 17:27:22 +02:00
MamboJamboStudios.UnityAtomsCore.Runtime.asmdef New repo structure 2019-10-01 17:27:22 +02:00
MamboJamboStudios.UnityAtomsCore.Runtime.asmdef.meta New repo structure 2019-10-01 17:27:22 +02:00
Observables.meta New repo structure 2019-10-01 17:27:22 +02:00
References.meta New repo structure 2019-10-01 17:27:22 +02:00
Types.meta New repo structure 2019-10-01 17:27:22 +02:00
UnityEvents.meta New repo structure 2019-10-01 17:27:22 +02:00
Utils.meta New repo structure 2019-10-01 17:27:22 +02:00
Variables.meta New repo structure 2019-10-01 17:27:22 +02:00