Commit Graph

404 Commits

Author SHA1 Message Date
AdamRamberg
b51de335e0 v2.1.0 🚀 2019-11-28 19:35:59 +01:00
IceTrooper
be6a479bc1 #84 parameterless atom listener (#86)
* added base class for AtomAction; modified VoidAction; added Register/UnregisterListener to non-generic AtomEvent; added parameterless AtomListener; small polishing

* removed EditorIcon from AtomAction; fixed misspelled word in AtomEvent
2019-11-26 20:12:54 +01:00
AdamRamberg
e0fa81badd New feature -> New features 2019-11-15 06:36:35 +01:00
Adam Ramberg
cc63d654b3
Name OnTriggerHook class properly. (#91)
* Bux fix - name OnTriggerHook class properly.

* Add entry to CHANGELOG
2019-11-15 06:33:23 +01:00
AdamRamberg
6c70a40961 Add items to the CHANGELOG 2019-11-14 22:57:22 +01:00
Oliver Biwer
a5641f6514 Variable and Constant Drawers show a preview value (#89)
* Drawers of Variables and Constants show value field

* #89 Adjust preview width for Vector2 and Vector3
2019-11-14 22:46:58 +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
Oliver Biwer
1c8964e30f
Merge pull request #88 from IceTrooper/#87-fixed-bug-with-multiline-constant-value-in-atomreference
Fix #87: AtomReference Drawer is always 1 line, even if the object needs more
2019-11-13 22:16:56 +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
Ice_trooper
789c39d39c #87 bug fixed 2019-11-12 00:03:12 +01:00
AdamRamberg
acf901eb6d Merge branch 'canary' 2019-11-11 23:31:41 +01:00
AdamRamberg
e7fe472717 Updated CHANGELOG.md 2019-11-11 22:33:55 +01:00
Oliver Biwer
e2faf2e3d6
Merge pull request #78 from Saso222/canary
Setter to AtomReference's Value was added
2019-11-11 21:02:43 +01:00
Oliver Biwer
c4a84838b4
Update AtomReference.cs
small change to be more future-proof.
 - when the Usage-Enum is extended this will not silently do nothing
2019-11-11 21:01:10 +01:00
Adam Ramberg
a35847eae3
Merge pull request #73 from AdamRamberg/add-discord-link-to-docs
Add discord link to docs
2019-11-11 08:04:44 +01:00
Ignacio Ruiz
3047512a62 Setter to AtomReference's Value was added in order to set the value depending on _usage 2019-11-09 23:08:40 +01:00
AdamRamberg
69a698bd66 #59 - Add discord link to docs 2019-11-03 17:50:45 +01:00
AdamRamberg
a45918ee43 Small adjustment to PUBLISHING.md 2019-10-24 08:31:52 +02:00
AdamRamberg
11b870a2b1 Merge branch 'master' of https://github.com/AdamRamberg/unity-atoms 2019-10-24 08:23:09 +02:00
AdamRamberg
babb691792 V2.0.0 🎉 2019-10-24 08:15:45 +02:00
AdamRamberg
a69e5c2f05 Fix broken scenes 2019-10-24 07:59:10 +02:00
AdamRamberg
b8c3dc668f #68 - render default drawer when multi editing 2019-10-22 22:11:21 +02:00
AdamRamberg
9cb9a0de20 #68 Temporarily dissalow multiobject editing 2019-10-22 08:03:14 +02:00
AdamRamberg
40e1af7ffe Expose get property InitialValue for Variables 2019-10-20 23:21:16 +02:00
AdamRamberg
577f83d612 Regenerate docs for Tags 2019-10-20 23:20:13 +02:00
AdamRamberg
d187ce32fc Add missing part to "Quick start" page 2019-10-20 22:25:14 +02:00
AdamRamberg
0ad40a67d4 #65 - Fix indent and ui state issues of drawer 2019-10-20 21:48:52 +02:00
AdamRamberg
a496c19bf7 Set default values to remove MH warnings 2019-10-20 21:16:07 +02:00
AdamRamberg
551aee6acc Add missing MonoHooks folder meta 2019-10-20 15:06:08 +02:00
AdamRamberg
1a9434de8e Add release step 2019-10-18 17:38:24 +02:00
AdamRamberg
ba822d85d1 Small README.md style fix 2019-10-18 17:37:12 +02:00
AdamRamberg
cd90f0e667 Remove all FormerlySerializedAs attributes 2019-10-18 17:36:10 +02:00
AdamRamberg
53a5d0a6c8 Publish 2.0.0-beta.1 2019-10-17 20:43:14 +02:00
AdamRamberg
58728e182c Docs for publishing a new unity atoms version 2019-10-17 13:27:13 +02:00
AdamRamberg
a4334bc3d0 Update README with maintainers 2019-10-17 13:02:04 +02:00
AdamRamberg
d5e7303483 UATags -> AtomTags 2019-10-17 12:57:00 +02:00
AdamRamberg
6b6cdf62ee Merge branch 'master' into canary 2019-10-16 23:21:36 +02:00
Adam Ramberg
c705760aa2 Add initial issue templates 2019-10-16 23:19:08 +02:00
AdamRamberg
68fa551397 Improve changelog + contribution docs 2019-10-16 21:35:12 +02:00
AdamRamberg
cdbdce7329 #41 - Create BaseAtomListener including dev desc 2019-10-16 19:43:05 +02:00
AdamRamberg
14f02a998e #54 - temp workaround for Unity serialization bug 2019-10-16 18:14:25 +02:00
AdamRamberg
0452db9529 Fix example scenes 2019-10-16 18:13:22 +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
8b46cba5cd Update docs 2019-10-15 23:46:56 +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
35782c3d95 SceneMgmt docs WIP 2019-10-15 22:39:42 +02:00
AdamRamberg
867d360ebf Regenerate docs for SceneField Atoms 2019-10-15 22:39:20 +02:00
AdamRamberg
14931be3e6 Regenerate docs for Void Atoms 2019-10-15 22:37:15 +02:00