unity-atoms/Packages/MonoHooks/Runtime/Hooks
Adam Ramberg 8a6b8a97a6
Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110)
AtomVariableInstancer
- Added AtomVariableInstancer as an option to AtomReference.
- Added AtomVariableInstancer to generator.
- Added editor icon for AtomVariableInstancer.

AtomEventReference
- Added an AtomEventReference class (and AtomEventX2Reference). It’s similar to an AtomReference, but for Events. Let’s you pick between an Event, Variable (will select the Changed event) and a VariableInstancer (see above).
- Added AtomEventReference and AtomEventX2Reference to generator.
- Added a drawer for AtomEventReference.
- Listeners are now using AtomEventReference instead of AtomEvent.
- Refactoring of VoidHooks since Listeners are now using AtomEventReference.

AtomCollection
- Created an AtomCollection - a collection of Atoms associated with key strings (AtomReferences).
- Added new editor icon for collections.
- Created a SerializableDictionary class, which AtomCollection is using.
- Custom property drawer for SerializableDictionary.
- SerializableDictionary supports nested structures meaning that a AtomCollection can have a KVP that is pointing to another AtomCollection.
- AtomCollections have 3 events: Added, Removed, Cleared.
- Added an option to sync an InstanceVariable to collection - adding it to the collection when created (using gameObject’s instance id as key) and removing it from the collection when destroyed.

AtomList
- Renamed old AtomList to AtomValueList
- Added AtomList, like Collection, but a list
- Added new icon for AtomList
- Created a AtomBaseVariableList class, which AtomList is using.
- Custom property drawer for AtomBaseVariableList.
- AtomLists have 3 events: Added, Removed, Cleared.
- Added an option to sync an InstanceVariable to list - adding it to the list when created and removing it from the list when destroyed.
2020-02-23 02:39:43 +01:00
..
Collider2DHook.cs Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
Collider2DHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
ColliderHook.cs Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
ColliderHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
MonoHook.cs Remove all FormerlySerializedAs attributes 2019-10-18 17:36:10 +02:00
MonoHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnAwakeHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnAwakeHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnButtonClickHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnButtonClickHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnDestroyHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnDestroyHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnFixedUpdateHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnFixedUpdateHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnLateUpdateHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnLateUpdateHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnPointerDownHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnPointerDownHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnStartHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnStartHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnTrigger2DHook.cs Changed AddComponentMenu names for Listeners/Hooks (#84) 2019-11-13 08:59:39 +01:00
OnTrigger2DHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnTriggerHook.cs Name OnTriggerHook class properly. (#91) 2019-11-15 06:33:23 +01:00
OnTriggerHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
OnUpdateHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
OnUpdateHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00
VoidHook.cs Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) 2020-02-23 02:39:43 +01:00
VoidHook.cs.meta Readd MonoHooks as a subpackage 2019-10-16 01:43:51 +02:00