Commit Graph

464 Commits

Author SHA1 Message Date
dependabot[bot]
6a2e07ccb7
Bump minimist from 1.2.5 to 1.2.8 in /website
Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.8.
- [Release notes](https://github.com/minimistjs/minimist/releases)
- [Changelog](https://github.com/minimistjs/minimist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.8)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 11:16:40 +00:00
davient
5df498b41e Corrected docs/tutorials/mono-hooks.md to reference a Collider2D Event Reference Listener
updated screenshot to match
2022-06-18 17:12:30 +02:00
Adam Ramberg
a41a7f4abe Update release date of 4.4.5 2022-05-09 23:01:50 +02:00
Miika Lönnqvist
12515aefc8
Update all version references to 4.4.5 (#350) 2022-05-09 22:50:56 +02:00
Soraphis
4ee7155b63 fix: conditional compilation for EDITOR only code 2022-04-28 07:36:58 +02:00
Adam Ramberg
d4eb9ccc3b Update release date of 4.4.4 2022-04-17 23:15:28 +02:00
Adam Ramberg
47f3062f3d Merge branch 'canary' 2022-04-17 23:08:19 +02:00
Adam Ramberg
495e3036e9 Add ThimoDEV to the list of maintainers 2022-04-17 23:05:45 +02:00
Miika Lönnqvist
3b39e6a2f1
Prepare for release of 4.4.4 (#343)
* Update CHANGELOG

* Update version in documentation to 4.4.4

* Remove reference to Examples directory

* Update package-lock.json

* Update API documentation
2022-04-17 22:52:38 +02:00
Thimo de Ram
5c094f1b10 [Removed] Debug mode logging 2022-03-15 21:28:03 +01:00
Thimo de Ram
a64ae84096 [Changed] NRE to Debug.Log 2022-03-15 21:28:03 +01:00
Thimo de Ram
46037ac590 fix #321 NRE when Event Reference Listeners event reference is not set 2022-03-15 21:28:03 +01:00
Miika Lönnqvist
a35e7342cc Remove Casey-Hofland from list of maintainers 2022-02-27 14:40:25 +01:00
Soraphis
9837fff97f fixing unnecessary allocations when debug mode disabled 2022-02-27 10:07:45 +01:00
dependabot[bot]
cdf7928ef1 Bump tar from 4.4.8 to 4.4.19 in /website
Bumps [tar](https://github.com/npm/node-tar) from 4.4.8 to 4.4.19.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.8...v4.4.19)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 21:57:00 +01:00
dependabot[bot]
53a9c65d7b Bump lodash from 4.17.19 to 4.17.21 in /website
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 21:56:52 +01:00
dependabot[bot]
3e9c88de6e Bump postcss from 7.0.18 to 7.0.39 in /website
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.18 to 7.0.39.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.18...7.0.39)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 21:56:43 +01:00
dependabot[bot]
3da8fea19d Bump shelljs from 0.8.3 to 0.8.5 in /website
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.3 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.3...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 21:56:10 +01:00
dependabot[bot]
277a8e3375 Bump url-parse from 1.4.7 to 1.5.7 in /website
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 21:54:59 +01:00
dependabot[bot]
fa0ac430d7 Bump ajv from 6.10.2 to 6.12.6 in /website
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.10.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 21:54:38 +01:00
CaseyDeCoder
aecaa73ad0 Fix hasChildren display in AtomReferences
The display of an AtomReference would act a bit weird if the Atom was of e.g. a serializable class.
2021-12-28 16:14:11 +01:00
Thimo de Ram
7c372e6c38 Feature #293 changed private list variable to protected to support custom classes 2021-12-28 16:00:47 +01:00
Simon Bucher
3aa06a70a1 Fix ChangedOnOnEnable not triggered
When using an Event Reference Listener with a variable, GetOrCreateEvent() is sometimes called after TriggerInitialEvents(). This commit solves this issue.
2021-12-28 14:13:02 +01:00
Miika Lönnqvist
bf52da03a0 Workflow for acquiring Unity activation file 2021-12-28 13:52:23 +01:00
eduardo
c810df67f0 FiniteStateMachine not listening to Raise Event To Complete Transition #296 2021-12-27 13:58:49 +01:00
Andrew Han
b5b724f161 add missing scoped registry in install docs 2021-11-28 16:05:43 +01:00
Soraphis
a7240651f6
fix #305 empty list of tagged objects throws NRE (#306)
* fix #305 empty list of tagged objects throws NRE
* added missing indexer
2021-11-28 16:03:27 +01:00
Thimo de Ram
8c1d6f215c fix #237 Drawer property value is null error 2021-11-27 14:22:26 +01:00
Miika Lönnqvist
902f9719e8 Remove extra underscore from ChangedHistoryEvent 2021-11-27 13:51:10 +01:00
Thimo
225b8f7962
Fix #255 AtomVariableInstancer assumes Base != null (#309)
Co-authored-by: Thimo de Ram <tdram@esites.local>
2021-11-27 13:40:30 +01:00
Thimo de Ram
67833f3c29 [Fixed] event refernce listener listening to old event 2021-11-27 13:29:18 +01:00
Thimo de Ram
1c0ebd0e85 fix #254 ulong cast error 2021-11-27 13:11:55 +01:00
Thimo de Ram
7c86054f88 fix #252 Removed duplicate function definition 2021-11-27 12:00:22 +01:00
Thimo de Ram
a7b3d7b91a fix #282 changed/changedwithhistory events not created when registered in code 2021-11-27 11:54:55 +01:00
Kyrw
a7c9c69fcf
Fixed collection deserialization problem. (#300)
* Fixed collection deserialization problem

ScriptableObjects arent granted to be initialized on a particular order and might be used by the collection before they are initialized.

* Update CHANGELOG.md

Co-authored-by: eduardo <eduardo@firasoft.com>
Co-authored-by: Casey Hofland <hofland.casey@gmail.com>
2021-09-23 21:39:23 +02:00
Miika Lönnqvist
7b29e15be2
Revert "Use event references in mono hooks (#271)" (#287)
This reverts commit 25412ab2a8.
2021-07-04 12:41:05 +02:00
Simon Bucher
25412ab2a8
Use event references in mono hooks (#271) 2021-07-04 11:42:46 +02:00
Miika Lönnqvist
c2dd13712f
Fix conditions not serializing in Unity 2019 (#278) 2021-07-04 11:18:46 +02:00
Jonas Bötel
e794dcf650
Fixed specifying package dependencies (#284)
Looking good, nice work!
2021-06-21 15:20:40 +02:00
Adam Ramberg
7b6b843170 Merge branch 'canary' 2021-06-14 20:37:35 +02:00
Miika Lönnqvist
cfb92f5d92
fix #279 Update link in UniRx tutorial (#280) 2021-06-14 20:33:15 +02:00
Miika Lönnqvist
c7136d2937
Updated documentation and tutorials (#267)
Some tutorials now have animation in them to give a clearer explanation of how things work. Added a short tutorial about creating Atoms with the new Search function. Documentation about installation has also changed.
2021-06-14 20:32:52 +02:00
Casey Hofland
cdbfa352aa
Update CHANGELOG.md 2021-05-03 20:13:37 +02:00
Casey Hofland
907cf70918
Speedup Atom Generation (#275)
* Speedup Atom Generation

This simple change will speed up atom generation via an AtomGenerator. The whole thing will only take 10 seconds instead of +1 minute.

* Update the changelog
2021-05-03 20:06:58 +02:00
Casey Hofland
ece64feb11
Update CONTRIBUTING.md
Added a "Smooth Workflow" section explaining how you can set up contribute to Atoms inside a Unity project.
2021-05-02 13:22:36 +02:00
Adam Ramberg
85bbaa03bb Add unnecessary .meta files to gitignore 2021-04-05 20:33:36 +02:00
Adam Ramberg
c79a974ce8 website fixes 2021-03-07 22:07:52 +01:00
Adam Ramberg
120a0b88c6 🧑‍🔬 v4.4.3 2021-03-07 21:49:39 +01:00
Miika Lönnqvist
989a262e10 Update website URL in docs (#257) 2021-03-07 21:49:39 +01:00
Oliver Biwer
06fc87a123 compatibility with dynamic assemblies and different namespace/class conditions (#230)
* compatibility with dynamic assemblies

* fixing #232

fixed a case where the class namespace might be null

* fixing #232 + corrections, fixing #233

* Fix nested types not being generated correctly

VALUE_TYPE_NAME_NO_PAIR had an incorrect value if the type was nested.

* Reimagine the Generators Type Selector Layout

UNTESTED! I will test if the generator later this week (18/01).
UNCOMMENTED! Same as above.

The new selector will neatly separate namespaces from types, is ordered alphabetically and goes down a new level for every subnamespace. It will now also display nested types as such (so nested type Bar is displayed as Foo+Bar). This means that types of the same name but in different namespaces are now supported.

It will also ignore any abstract or generic types as Atoms can only generate solid types (...I think?)

If you want to check it out, I recommend looking at how NamespaceLevel works. It splits types up into types that have reached their namespace level and types that can still go deeper, in which case they are rooted as part of the NamespaceLevel. From there, it can handle adding dropdown items and finding a selected Type.

* Enable all GenerationOptions by default

Or on a Reset of the SO

* Ensure instantiated generator has unique assetpath

This can otherwise lead to weird behaviour if a new asset is created at the path of an existing asset

* Use variables for SerializedProperties

* Make objectfields to generated scripts readonly

These should not be edited which may lead to errors.

* Add comments

* Use hash to find which type belongs to which DropdownItem

* Use level to distinquish between namespace levels

Using TrimStart was also trimming off characters after dots (.) if appropriate.

* Safety measure

Ensure serializedObject.Update is called in the beginning of OnInspectorGUI.

* Fix size of Dropdown

It will now neatly cover all the generator options. This doesn't really matter at all, I just think it looks neat, plus it ensures there is always enough view to not have trouble selecting a type.

* Use CompilationPipeline to get assemblies

Pros: It only collects Unity Assemblies that are not Editor Only. This ensures that every type will 100% be compatible in builds.
Cons: It doesn't find any assemblies outside of Unity, for example the System assembly.

Personally I like this way better since it ensures support even for cross platform development. Imagine someone generating a type you can only find in Windows, then trying to build for Mac. We can still populate the base package with the base values from systems and people will still be able to create Atoms for unsupported values, just not using the generator.

Alternatively we could create an "unsafe" toggle.

* Use CompilationPipeline to get assemblies

Pros: It only collects Unity Assemblies that are not Editor Only. This ensures that every type will 100% be compatible in builds.
Cons: It doesn't find any assemblies outside of Unity, for example the System assembly.

Personally I like this way better since it ensures support even for cross platform development. Imagine someone generating a type you can only find in Windows, then trying to build for Mac. We can still populate the base package with the base values from systems and people will still be able to create Atoms for unsupported values, just not using the generator.

Alternatively we could create an "unsafe" toggle.

* Add Safe Search toggle to AtomGenerator

Previously, the AtomGenerator was only able to generate types that were Unity compatible and either Serializable or ScriptableObjects.

The first change is that it now also searches for Objects to account for prefabs.
The second change is a toggle next to the generator to differentiate between searching for Unity compatible types and searching for all types (denoted as "unsafe types"). This does what it promises: it gets all the (dynamic) assemblies it can find, retrieves all exported types, and makes no distinction between serializable or nonserializable. This returns the functionality to generate for example strings and ints with the generator.

* Add Quality of Life improvements to the Editor

Co-authored-by: Casey Hofland <hofland.casey@gmail.com>
2021-03-07 21:49:39 +01:00