Commit Graph

479 Commits

Author SHA1 Message Date
Miika Lönnqvist
532008c768
#189 Restructure tutorials and add two new tutorials (#190)
* Restructure tutorials and add two new tutorials

- Non-generated documentation review and edit
  - Consistent terminology
  - Stylistic changes
  - Minor structure changes
  - Minor clarifications
  - Typo fixes

- Split basic tutorial into two
- Tutorials are easier to follow when they are short and to the point
- Added event and variable instancer tutorials
- Had to bump node version for the docker container to work

* #189 - Fixing minor nitpicks

Co-authored-by: Adam Ramberg <adam@mambojambostudios.com>
2020-08-23 12:13:10 +02:00
Adam Ramberg
56803a8aae 🧞‍♀️ v4.3.0 2020-08-04 01:58:16 +02:00
IceTrooper
47286f40a9
Creating new atom in current directory improvement (#184)
* small improvement for creating new atoms in inspector window

* fixed getting directory path instead of full file path
2020-08-04 01:09:52 +02:00
dependabot[bot]
0c1aaf7d3c
Bump lodash from 4.17.15 to 4.17.19 in /website (#181)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-04 01:05:43 +02:00
Adam Ramberg
4a8f9ba571 #180 - Minor style fix 2020-08-04 01:04:04 +02:00
Gustavo Guimaraes
cf567e877d
Added StartCleared to ValueList (#180)
* Added StartCleared to ValueLists

closes #175

* Update BaseAtomValueList.cs

* Made StartCleared Protected
2020-08-04 01:02:17 +02:00
Adam Ramberg
0540add7b8 #179 - Fixes to AtomDrawer + FSM editor 2020-08-04 00:59:22 +02:00
Gustavo Guimaraes
cd8cd63ec0
Default Value For Changed and ChangedWithHistory (#179)
* Changed now is created even if null

* Added changedwithhistory

* Removed initial implementation
2020-08-04 00:55:26 +02:00
Michael Liu
e427ea973e
Fix Sub FSM Value Set issue (#178) 2020-07-13 07:58:11 +02:00
jmacgill
3140feab42
Generator creates compilable code with type specific modifications (#169)
* 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>
2020-07-12 08:18:51 +02:00
Gustavo Guimaraes
1e2ea61044
Instancer improvements (#172)
* Added Raise method and default base event for event instancers

* Added default value for Variable when base is null

* Added Event Instancer Raise editor
2020-07-01 08:32:07 +02:00
Oliver Biwer
3ae6200b8a
Update AtomBaseReferenceDrawer.cs (#174)
* Update AtomBaseReferenceDrawer.cs

* Update AtomBaseReferenceDrawer.cs
2020-07-01 08:23:41 +02:00
jmacgill
3bdd7bbef2
Make IsUnityAtomsRepo OS agnostic (#168)
* Make Examples path check OS agnostic.

Co-authored-by: jrmacgill <jmacgill@gmail.com>
2020-06-24 18:15:28 +02:00
Adam Ramberg
9dd7f918a8 🐞v4.2.1 2020-06-22 09:24:37 +02:00
Adam Ramberg
46a526c666 - Fixed clear button handler for StackTraces
- Fixed and rearranged StackTraces compiler flags
2020-06-22 09:13:20 +02:00
Adam Ramberg
e3ed5b58fc Hacks to get docs generator working 2020-06-20 09:32:51 +02:00
Adam Ramberg
49f9ff3f66 🐝 v4.2.0 2020-06-20 01:32:56 +02:00
Adam Ramberg
74b1bb2d7c Add #164 to changelog 2020-06-20 00:51:19 +02:00
Adam Ramberg
4278f71c9e #164 - Does not work in Unity 2018.3 2020-06-20 00:49:40 +02:00
Adam Ramberg
f855767c8e Changelog + assembly fixes 2020-06-20 00:45:58 +02:00
Adam Ramberg
70f8130797
Debug events by displaying stack traces for events (#159)
* Add stack trace toggled via user prefs

* Add docs regarding preferences

* Rename color getter functions

* Fix minior order of execution bug

* Use GUID + improved styling of detailed stack view

* - Changed the AddStackTrace method to be conditional (from one of your initial suggestions).
- Removed the implicit conversion operator in StackTraceEntry and is instead using ToString explicitly when needed.
- Improved implementation of GetFirstLine
- Simplified Equals implementation of the StackTraceEntry class
2020-06-06 22:19:07 +02:00
AdamRamberg
1e8abc6ad6 #160 - Hook up OnFixedUpdate handler 2020-05-21 17:53:27 +02:00
AdamRamberg
27959b9dd4 Fix bug where usage popup sometimes were hidden 2020-05-16 17:30:26 +02:00
Adam Ramberg
b2a838a18f
#132 - Add GetEvent and SetEvent functions to AtomReference (#158) 2020-05-12 18:19:45 +02:00
Adam Ramberg
634b42adcf
#131 - Added forceEvent parameter for SetValue function on AtomVariable (#157) 2020-05-12 17:56:01 +02:00
Bastien Guyl
4aa1f4a4d7
Fixing drawer for generated reference of complex struct type (#155)
* Adding proposals to fix #153

FIx custom reference doesn't appear properly

* Fix #153

Fix custom reference doesn't appear properly

* Fix #153

Fix custom reference doesn't appear properly

Co-authored-by: Bastien Guyl <bguyl@smart-tale.com>
2020-05-11 20:07:56 +02:00
AdamRamberg
849ae95b58 Add GetParent / GetValue extenstions for SerializedProperty 2020-05-10 16:27:46 +02:00
Bastien Guyl
2ac8a74e22
Add the [Serializable] attribute in the doc (#152)
Add the [Serializable] attribute in the documentation for the generator example
2020-05-10 13:38:05 +02:00
Adam Ramberg
2c17c47c65 Update changelog 2020-05-03 23:18:31 +02:00
Adam Ramberg
5dfc5fef7c
Fix code generation bug (#147) 2020-05-03 23:12:37 +02:00
Moh Narimani
f3bf70b64c
Removed duplicate check before adding an item to AtomValueList (#145) 2020-05-03 22:44:07 +02:00
Oliver Biwer
4a802d0c27
Changes in GetEvent implementation to allow inheritance (#140) 2020-05-03 07:45:08 +02:00
Adam Ramberg
a0956ccb66 Cleaning up CHANGELOG 2020-04-26 20:00:07 +02:00
Ignacio Ruiz
3666304b55
Added inspector toggle for triggering Changed and ChangedWithHistory on OnEnable (#126)
* Booleans to decide if OnChanged Events are triggered on Variable's OnEnable were added

* Variable's editor was updated to show both booleans

* Docs updated with new variables

* Changelog update

* Change variable visibility to private and add explicit default value

Co-authored-by: Ignacio Ruiz <iruizm@hiberus.com>
2020-04-26 19:57:55 +02:00
Adam Ramberg
a54fbf9d38 CHANGELOG + Unity 2019.3.10f1 2020-04-26 19:50:58 +02:00
IceTrooper
bec125f86d
changed from Multiline to TextArea attribute (#128) 2020-04-24 06:40:54 +02:00
Adam Ramberg
ce9e818ac3 More changelog updates for v4.1.0 💜 2020-04-03 16:21:08 +02:00
Adam Ramberg
2ff7cda7ac Updated changelog for v4.1.0 💜 2020-04-03 16:16:28 +02:00
Adam Ramberg
4176aa4392 💜 v4.1.0 2020-04-03 16:01:05 +02:00
Adam Ramberg
55d96c2250
#122 Add Event Refs for Collections and Lists (#123) 2020-04-03 15:45:08 +02:00
Adam Ramberg
76ba614e96 Minior name changes in example + docs 2020-04-03 11:37:01 +02:00
Adam Ramberg
ce0082df79 Merge branch 'master' into canary 2020-03-30 17:14:25 +02:00
Adam Ramberg
1bf2de247c Update README + CHANGELOG 2020-03-30 17:13:29 +02:00
Enderlook
5a2816e3ae
Fix typos (#120) 2020-03-30 17:07:10 +02:00
Adam Ramberg
96d703aaa2 Update README + CHANGELOG 2020-03-22 23:59:44 +01:00
dependabot[bot]
60a0c28720
Bump acorn from 7.1.0 to 7.1.1 in /website (#117)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-22 01:41:37 +01:00
Adam Ramberg
3c26513229 🦹‍♂️ v4.0.2 2020-03-22 01:29:45 +01:00
Adam Ramberg
cb5f702df6 Fixes to issues in v4.0.1 2020-03-22 01:22:08 +01:00
Adam Ramberg
342d5331e2 🦸‍♂️ v4.0.1 2020-03-22 00:51:37 +01:00
Adam Ramberg
5ec125fa49 Add editor folder to FSM pkg 2020-03-22 00:47:24 +01:00