🎅 v4.4.0

This commit is contained in:
Adam Ramberg 2020-12-30 00:47:17 +01:00
parent 21a588b6a4
commit 18b456555a
20 changed files with 1043 additions and 41 deletions

View File

@ -6,6 +6,40 @@
💅 = Polish
🚀 = New features
# 4.4.0 (December 30, 2020)
- ([@miikalo](https://github.com/miikalo) has joined as maintainer of Unity Atoms! 🥳
## 🐛 Bug fixes
- [#201](https://github.com/AdamRamberg/unity-atoms/pull/201) UnregisterAll in AtomEvent does not seem to work ([@soraphis](https://github.com/soraphis))
- [#199](https://github.com/AdamRamberg/unity-atoms/pull/199) Null Reference Exceptions when trying to set VoidBaseEventReferenceListener event in code ([@soraphis](https://github.com/soraphis))
- [#216](https://github.com/AdamRamberg/unity-atoms/pull/216) Conditions created do not appear under Atoms Search [@AdamRamberg](https://github.com/AdamRamberg)
- [#218](https://github.com/AdamRamberg/unity-atoms/pull/218) Fixing SerializedDictionary Memory Leak [@AdamRamberg](https://github.com/AdamRamberg)
- [#219](https://github.com/AdamRamberg/unity-atoms/pull/219) Fixing FSM instancer where \_base always is null [@AdamRamberg](https://github.com/AdamRamberg)
- [#220](https://github.com/AdamRamberg/unity-atoms/pull/220) Trigger initial events for instancers [@AdamRamberg](https://github.com/AdamRamberg)
## 📝 Documentation
- [#190](https://github.com/AdamRamberg/unity-atoms/pull/190) Restructure tutorials and add two new tutorials ([@miikalo](https://github.com/miikalo))
- [#193](https://github.com/AdamRamberg/unity-atoms/pull/193) Adding a little bit of clarity to installation ([@mutmedia](https://github.com/mutmedia)
- [#207](https://github.com/AdamRamberg/unity-atoms/pull/207) Add FAQ to documentation pages ([@miikalo](https://github.com/miikalo))
- [#206](https://github.com/AdamRamberg/unity-atoms/pull/206) Add tutorial for Conditions ([@miikalo](https://github.com/miikalo))
## 💅 Polish
- [#217](https://github.com/AdamRamberg/unity-atoms/pull/217) Move "Atoms Search" under "Unity Atoms" in the "Create" context menu [@AdamRamberg](https://github.com/AdamRamberg))
## 🚀 New features
- [#186](https://github.com/AdamRamberg/unity-atoms/pull/186) Searchable menu for faster atom creation ([@soraphis](https://github.com/soraphis))
- [#182](https://github.com/AdamRamberg/unity-atoms/pull/182) Add workaround for "Enter Play Mode" feature to enable initial values ([@hazarartuner](https://github.com/hazarartuner))
- [#187](https://github.com/AdamRamberg/unity-atoms/pull/187) Asset based atoms generation ([@soraphis](https://github.com/soraphis))
- [#191](https://github.com/AdamRamberg/unity-atoms/pull/191) Basic implementation of conditions for listeners ([@miikalo](https://github.com/miikalo))
- [#202](https://github.com/AdamRamberg/unity-atoms/pull/202) Added for AtomReference a check to see if an Atom is actually assigned ([@soraphis](https://github.com/soraphis))
- [#212](https://github.com/AdamRamberg/unity-atoms/pull/212) Unity Atoms Input System Integration ([@Casey-Hofland](https://github.com/Casey-Hofland))
- [#221](https://github.com/AdamRamberg/unity-atoms/pull/221) Add OnCollisionHook and OnCollision2DHook ([@Casey-Hofland](https://github.com/Casey-Hofland))
# 4.3.0 (August 4, 2020)
## 🐛 Bug fixes

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-base-atoms",
"displayName": "Unity Atoms Base Atoms",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Base set of Atoms based on Unity Atoms Core.",
"keywords": [
@ -20,6 +20,6 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-core",
"displayName": "Unity Atoms Core",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Tiny modular pieces utilizing the power of Scriptable Objects",
"keywords": [

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-fsm",
"displayName": "Unity Atoms FSM",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Simple FSM using Unity Atoms.",
"keywords": [
@ -20,7 +20,7 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-input-system",
"displayName": "Unity Atoms Input System",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Unity Atoms with Unity's Input System.",
"keywords": [
@ -18,8 +18,8 @@
"/Editor.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0",
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0",
"com.unity.inputsystem": "1.0.1"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-mobile",
"displayName": "Unity Atoms Mobile",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Unity Atoms for your mobile project.",
"keywords": [
@ -20,6 +20,6 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-mono-hooks",
"displayName": "Unity Atoms Mono Hooks",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Hook into Unity's lifecycle methods with Atom Events.",
"keywords": [
@ -20,7 +20,7 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-scene-mgmt",
"displayName": "Unity Atoms Scene Mgmt",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "Unity Atoms to manage your scenes.",
"keywords": [
@ -20,7 +20,7 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-tags",
"displayName": "Unity Atoms Tags",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "A replacement to Unity´s tags based on Unity Atoms.",
"keywords": [
@ -18,7 +18,7 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0"
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms-ui",
"displayName": "Unity Atoms UI",
"version": "4.3.0",
"version": "4.4.0",
"unity": "2018.3",
"description": "UI system using Unity Atoms.",
"keywords": [
@ -18,7 +18,7 @@
"/Documentation.meta"
],
"dependencies": {
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0"
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0"
}
}

View File

@ -56,15 +56,15 @@ Add the following to your `manifest.json` (which is located under your project l
],
"dependencies": {
...
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0",
"com.mambojambostudios.unity-atoms-fsm": "4.3.0",
"com.mambojambostudios.unity-atoms-mobile": "4.3.0",
"com.mambojambostudios.unity-atoms-mono-hooks": "4.3.0",
"com.mambojambostudios.unity-atoms-tags": "4.3.0",
"com.mambojambostudios.unity-atoms-scene-mgmt": "4.3.0",
"com.mambojambostudios.unity-atoms-ui": "4.3.0",
"com.mambojambostudios.unity-atoms-input-system": "4.3.0",
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0",
"com.mambojambostudios.unity-atoms-fsm": "4.4.0",
"com.mambojambostudios.unity-atoms-mobile": "4.4.0",
"com.mambojambostudios.unity-atoms-mono-hooks": "4.4.0",
"com.mambojambostudios.unity-atoms-tags": "4.4.0",
"com.mambojambostudios.unity-atoms-scene-mgmt": "4.4.0",
"com.mambojambostudios.unity-atoms-ui": "4.4.0",
"com.mambojambostudios.unity-atoms-input-system": "4.4.0",
...
}
}

View File

@ -91,6 +91,12 @@ Variable Inspector of type `int`. Inherits from `AtomVariableEditor`
---
## `CollisionVariableEditor`
Variable Inspector of type `Collision`. Inherits from `AtomVariableEditor`
---
## `GameObjectVariableEditor`
Variable Inspector of type `GameObject`. Inherits from `AtomVariableEditor`
@ -109,6 +115,12 @@ Variable Inspector of type `bool`. Inherits from `AtomVariableEditor`
---
## `Collision2DVariableEditor`
Variable Inspector of type `Collision2D`. Inherits from `AtomVariableEditor`
---
## `Vector2VariableEditor`
Variable Inspector of type `Vector2`. Inherits from `AtomVariableEditor`
@ -271,6 +283,12 @@ Event property drawer of type `float`. Inherits from `AtomEventEditor<float, Flo
---
## `CollisionPairEventEditor`
Event property drawer of type `CollisionPair`. Inherits from `AtomEventEditor<CollisionPair, CollisionPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `StringEventEditor`
Event property drawer of type `string`. Inherits from `AtomEventEditor<string, StringEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -289,6 +307,12 @@ Event property drawer of type `GameObject`. Inherits from `AtomEventEditor<GameO
---
## `CollisionEventEditor`
Event property drawer of type `Collision`. Inherits from `AtomEventEditor<Collision, CollisionEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColliderPairEventEditor`
Event property drawer of type `ColliderPair`. Inherits from `AtomEventEditor<ColliderPair, ColliderPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -301,12 +325,24 @@ Event property drawer of type `Vector3`. Inherits from `AtomEventEditor<Vector3,
---
## `Collision2DPairEventEditor`
Event property drawer of type `Collision2DPair`. Inherits from `AtomEventEditor<Collision2DPair, Collision2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `StringPairEventEditor`
Event property drawer of type `StringPair`. Inherits from `AtomEventEditor<StringPair, StringPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collision2DEventEditor`
Event property drawer of type `Collision2D`. Inherits from `AtomEventEditor<Collision2D, Collision2DEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `AtomBaseVariableBaseEventReferenceDrawer`
A custom property drawer for AtomBaseVariable BaseEventReferences. Makes it possible to choose between an Event, Event Instancer, Collection Added, Collection Removed, List Added, List Removed, Collection Instancer Added, Collection Instancer Removed, List Instancer Added or List Instancer Removed.
@ -331,6 +367,12 @@ Constant property drawer of type `Vector2`. Inherits from `AtomDrawer<Vector2Con
---
## `Collision2DConstantDrawer`
Constant property drawer of type `Collision2D`. Inherits from `AtomDrawer<Collision2DConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `QuaternionConstantDrawer`
Constant property drawer of type `Quaternion`. Inherits from `AtomDrawer<QuaternionConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -391,6 +433,12 @@ Constant property drawer of type `bool`. Inherits from `AtomDrawer<BoolConstant>
---
## `CollisionConstantDrawer`
Constant property drawer of type `Collision`. Inherits from `AtomDrawer<CollisionConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColorVariableDrawer`
Variable property drawer of type `Color`. Inherits from `AtomDrawer<ColorVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -427,12 +475,24 @@ Variable property drawer of type `Vector2`. Inherits from `AtomDrawer<Vector2Var
---
## `Collision2DVariableDrawer`
Variable property drawer of type `Collision2D`. Inherits from `AtomDrawer<Collision2DVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collider2DVariableDrawer`
Variable property drawer of type `Collider2D`. Inherits from `AtomDrawer<Collider2DVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionVariableDrawer`
Variable property drawer of type `Collision`. Inherits from `AtomDrawer<CollisionVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `GameObjectVariableDrawer`
Variable property drawer of type `GameObject`. Inherits from `AtomDrawer<GameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -469,6 +529,18 @@ Event property drawer of type `StringPair`. Inherits from `AtomDrawer<StringPair
---
## `Collision2DEventDrawer`
Event property drawer of type `Collision2D`. Inherits from `AtomDrawer<Collision2DEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collision2DPairEventDrawer`
Event property drawer of type `Collision2DPair`. Inherits from `AtomDrawer<Collision2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Vector3EventDrawer`
Event property drawer of type `Vector3`. Inherits from `AtomDrawer<Vector3Event>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -481,6 +553,12 @@ Event property drawer of type `float`. Inherits from `AtomDrawer<FloatEvent>`. O
---
## `CollisionPairEventDrawer`
Event property drawer of type `CollisionPair`. Inherits from `AtomDrawer<CollisionPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Vector3PairEventDrawer`
Event property drawer of type `Vector3Pair`. Inherits from `AtomDrawer<Vector3PairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -493,6 +571,12 @@ Event property drawer of type `GameObject`. Inherits from `AtomDrawer<GameObject
---
## `CollisionEventDrawer`
Event property drawer of type `Collision`. Inherits from `AtomDrawer<CollisionEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColliderPairEventDrawer`
Event property drawer of type `ColliderPair`. Inherits from `AtomDrawer<ColliderPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -685,12 +769,24 @@ Value List property drawer of type `string`. Inherits from `AtomDrawer<StringVal
---
## `Collision2DValueListDrawer`
Value List property drawer of type `Collision2D`. Inherits from `AtomDrawer<Collision2DValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Vector3ValueListDrawer`
Value List property drawer of type `Vector3`. Inherits from `AtomDrawer<Vector3ValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionValueListDrawer`
Value List property drawer of type `Collision`. Inherits from `AtomDrawer<CollisionValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `GameObjectValueListDrawer`
Value List property drawer of type `GameObject`. Inherits from `AtomDrawer<GameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.

View File

@ -13,24 +13,48 @@ Event Reference Listener of type `BoolPair`. Inherits from `AtomEventReferenceLi
---
## `CollisionPairEventReferenceListener`
Event Reference Listener of type `CollisionPair`. Inherits from `AtomEventReferenceListener<CollisionPair, CollisionPairEvent, CollisionPairEventReference, CollisionPairUnityEvent>`.
---
## `Collider2DPairEventReferenceListener`
Event Reference Listener of type `Collider2DPair`. Inherits from `AtomEventReferenceListener<Collider2DPair, Collider2DPairEvent, Collider2DPairEventReference, Collider2DPairUnityEvent>`.
---
## `CollisionEventReferenceListener`
Event Reference Listener of type `Collision`. Inherits from `AtomEventReferenceListener<Collision, CollisionEvent, CollisionEventReference, CollisionUnityEvent>`.
---
## `IntEventReferenceListener`
Event Reference Listener of type `int`. Inherits from `AtomEventReferenceListener<int, IntEvent, IntEventReference, IntUnityEvent>`.
---
## `Collision2DPairEventReferenceListener`
Event Reference Listener of type `Collision2DPair`. Inherits from `AtomEventReferenceListener<Collision2DPair, Collision2DPairEvent, Collision2DPairEventReference, Collision2DPairUnityEvent>`.
---
## `ColliderEventReferenceListener`
Event Reference Listener of type `Collider`. Inherits from `AtomEventReferenceListener<Collider, ColliderEvent, ColliderEventReference, ColliderUnityEvent>`.
---
## `Collision2DEventReferenceListener`
Event Reference Listener of type `Collision2D`. Inherits from `AtomEventReferenceListener<Collision2D, Collision2DEvent, Collision2DEventReference, Collision2DUnityEvent>`.
---
## `IntPairEventReferenceListener`
Event Reference Listener of type `IntPair`. Inherits from `AtomEventReferenceListener<IntPair, IntPairEvent, IntPairEventReference, IntPairUnityEvent>`.
@ -157,6 +181,12 @@ Reference of type `float`. Inherits from `EquatableAtomReference<float, FloatPai
---
## `Collision2DReference`
Reference of type `Collision2D`. Inherits from `AtomReference<Collision2D, Collision2DPair, Collision2DConstant, Collision2DVariable, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction, Collision2DVariableInstancer, AtomCollection, AtomList>`.
---
## `Vector2Reference`
Reference of type `Vector2`. Inherits from `EquatableAtomReference<Vector2, Vector2Pair, Vector2Constant, Vector2Variable, Vector2Event, Vector2PairEvent, Vector2Vector2Function, Vector2VariableInstancer, AtomCollection, AtomList>`.
@ -207,6 +237,12 @@ Reference of type `int`. Inherits from `EquatableAtomReference<int, IntPair, Int
---
## `CollisionReference`
Reference of type `Collision`. Inherits from `AtomReference<Collision, CollisionPair, CollisionConstant, CollisionVariable, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction, CollisionVariableInstancer, AtomCollection, AtomList>`.
---
## `QuaternionReference`
Reference of type `Quaternion`. Inherits from `EquatableAtomReference<Quaternion, QuaternionPair, QuaternionConstant, QuaternionVariable, QuaternionEvent, QuaternionPairEvent, QuaternionQuaternionFunction, QuaternionVariableInstancer, AtomCollection, AtomList>`.
@ -243,6 +279,12 @@ Reference of type `double`. Inherits from `EquatableAtomReference<double, Double
---
## `CollisionPair`
IPair of type `<Collision>`. Inherits from `IPair<Collision>`.
---
## `GameObjectPair`
IPair of type `<GameObject>`. Inherits from `IPair<GameObject>`.
@ -303,6 +345,12 @@ IPair of type `<Quaternion>`. Inherits from `IPair<Quaternion>`.
---
## `Collision2DPair`
IPair of type `<Collision2D>`. Inherits from `IPair<Collision2D>`.
---
## `BoolPair`
IPair of type `<bool>`. Inherits from `IPair<bool>`.
@ -345,6 +393,12 @@ None generic Unity Event of type `GameObject`. Inherits from `UnityEvent<GameObj
---
## `CollisionPairUnityEvent`
None generic Unity Event of type `CollisionPair`. Inherits from `UnityEvent<CollisionPair>`.
---
## `Collider2DUnityEvent`
None generic Unity Event of type `Collider2D`. Inherits from `UnityEvent<Collider2D>`.
@ -393,6 +447,12 @@ None generic Unity Event of type `int`. Inherits from `UnityEvent<int>`.
---
## `CollisionUnityEvent`
None generic Unity Event of type `Collision`. Inherits from `UnityEvent<Collision>`.
---
## `Vector3UnityEvent`
None generic Unity Event of type `Vector3`. Inherits from `UnityEvent<Vector3>`.
@ -447,6 +507,12 @@ None generic Unity Event of type `Vector3Pair`. Inherits from `UnityEvent<Vector
---
## `Collision2DUnityEvent`
None generic Unity Event of type `Collision2D`. Inherits from `UnityEvent<Collision2D>`.
---
## `QuaternionPairUnityEvent`
None generic Unity Event of type `QuaternionPair`. Inherits from `UnityEvent<QuaternionPair>`.
@ -465,6 +531,12 @@ None generic Unity Event of type `Quaternion`. Inherits from `UnityEvent<Quatern
---
## `Collision2DPairUnityEvent`
None generic Unity Event of type `Collision2DPair`. Inherits from `UnityEvent<Collision2DPair>`.
---
## `Vector2PairUnityEvent`
None generic Unity Event of type `Vector2Pair`. Inherits from `UnityEvent<Vector2Pair>`.
@ -489,6 +561,12 @@ Constant of type `Quaternion`. Inherits from `AtomBaseVariable<Quaternion>`.
---
## `Collision2DConstant`
Constant of type `Collision2D`. Inherits from `AtomBaseVariable<Collision2D>`.
---
## `BoolConstant`
Constant of type `bool`. Inherits from `AtomBaseVariable<bool>`.
@ -513,6 +591,12 @@ Constant of type `int`. Inherits from `AtomBaseVariable<int>`.
---
## `CollisionConstant`
Constant of type `Collision`. Inherits from `AtomBaseVariable<Collision>`.
---
## `FloatConstant`
Constant of type `float`. Inherits from `AtomBaseVariable<float>`.
@ -555,6 +639,12 @@ Event Reference of type `string`. Inherits from `AtomEventReference<string, Stri
---
## `CollisionPairEventReference`
Event Reference of type `CollisionPair`. Inherits from `AtomEventReference<CollisionPair, CollisionVariable, CollisionPairEvent, CollisionVariableInstancer, CollisionPairEventInstancer>`.
---
## `Collider2DPairEventReference`
Event Reference of type `Collider2DPair`. Inherits from `AtomEventReference<Collider2DPair, Collider2DVariable, Collider2DPairEvent, Collider2DVariableInstancer, Collider2DPairEventInstancer>`.
@ -573,6 +663,18 @@ Event Reference of type `int`. Inherits from `AtomEventReference<int, IntVariabl
---
## `Collision2DPairEventReference`
Event Reference of type `Collision2DPair`. Inherits from `AtomEventReference<Collision2DPair, Collision2DVariable, Collision2DPairEvent, Collision2DVariableInstancer, Collision2DPairEventInstancer>`.
---
## `CollisionEventReference`
Event Reference of type `Collision`. Inherits from `AtomEventReference<Collision, CollisionVariable, CollisionEvent, CollisionVariableInstancer, CollisionEventInstancer>`.
---
## `ColliderEventReference`
Event Reference of type `Collider`. Inherits from `AtomEventReference<Collider, ColliderVariable, ColliderEvent, ColliderVariableInstancer, ColliderEventInstancer>`.
@ -609,6 +711,12 @@ Event Reference of type `BoolPair`. Inherits from `AtomEventReference<BoolPair,
---
## `Collision2DEventReference`
Event Reference of type `Collision2D`. Inherits from `AtomEventReference<Collision2D, Collision2DVariable, Collision2DEvent, Collision2DVariableInstancer, Collision2DEventInstancer>`.
---
## `StringPairEventReference`
Event Reference of type `StringPair`. Inherits from `AtomEventReference<StringPair, StringVariable, StringPairEvent, StringVariableInstancer, StringPairEventInstancer>`.
@ -693,6 +801,12 @@ Variable Instancer of type `Vector2`. Inherits from `AtomVariableInstancer<Vecto
---
## `Collision2DVariableInstancer`
Variable Instancer of type `Collision2D`. Inherits from `AtomVariableInstancer<Collision2DVariable, Collision2DPair, Collision2D, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>`.
---
## `Vector3VariableInstancer`
Variable Instancer of type `Vector3`. Inherits from `AtomVariableInstancer<Vector3Variable, Vector3Pair, Vector3, Vector3Event, Vector3PairEvent, Vector3Vector3Function>`.
@ -717,6 +831,12 @@ Variable Instancer of type `Collider2D`. Inherits from `AtomVariableInstancer<Co
---
## `CollisionVariableInstancer`
Variable Instancer of type `Collision`. Inherits from `AtomVariableInstancer<CollisionVariable, CollisionPair, Collision, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction>`.
---
## `GameObjectVariableInstancer`
Variable Instancer of type `GameObject`. Inherits from `AtomVariableInstancer<GameObjectVariable, GameObjectPair, GameObject, GameObjectEvent, GameObjectPairEvent, GameObjectGameObjectFunction>`.
@ -897,6 +1017,12 @@ Event Instancer of type `BoolPair`. Inherits from `AtomEventInstancer<BoolPair,
---
## `Collision2DEventInstancer`
Event Instancer of type `Collision2D`. Inherits from `AtomEventInstancer<Collision2D, Collision2DEvent>`.
---
## `StringPairEventInstancer`
Event Instancer of type `StringPair`. Inherits from `AtomEventInstancer<StringPair, StringPairEvent>`.
@ -939,6 +1065,18 @@ Event Instancer of type `FloatPair`. Inherits from `AtomEventInstancer<FloatPair
---
## `Collision2DPairEventInstancer`
Event Instancer of type `Collision2DPair`. Inherits from `AtomEventInstancer<Collision2DPair, Collision2DPairEvent>`.
---
## `CollisionEventInstancer`
Event Instancer of type `Collision`. Inherits from `AtomEventInstancer<Collision, CollisionEvent>`.
---
## `ColliderEventInstancer`
Event Instancer of type `Collider`. Inherits from `AtomEventInstancer<Collider, ColliderEvent>`.
@ -969,6 +1107,12 @@ Event Instancer of type `ColorPair`. Inherits from `AtomEventInstancer<ColorPair
---
## `CollisionPairEventInstancer`
Event Instancer of type `CollisionPair`. Inherits from `AtomEventInstancer<CollisionPair, CollisionPairEvent>`.
---
## `StringEventInstancer`
Event Instancer of type `string`. Inherits from `AtomEventInstancer<string, StringEvent>`.
@ -993,6 +1137,12 @@ Event Instancer of type `int`. Inherits from `AtomEventInstancer<int, IntEvent>`
---
## `Collision2DVariable`
Variable of type `Collision2D`. Inherits from `AtomVariable<Collision2D, Collision2DPair, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>`.
---
## `BoolVariable`
Variable of type `bool`. Inherits from `EquatableAtomVariable<bool, BoolPair, BoolEvent, BoolPairEvent, BoolBoolFunction>`.
@ -1137,6 +1287,12 @@ Divide Variable by Variable value.
---
## `CollisionVariable`
Variable of type `Collision`. Inherits from `AtomVariable<Collision, CollisionPair, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction>`.
---
## `FloatVariable`
Variable of type `float`. Inherits from `EquatableAtomVariable<float, FloatPair, FloatEvent, FloatPairEvent, FloatFloatFunction>`.
@ -1325,6 +1481,90 @@ Variable of type `double`. Inherits from `EquatableAtomVariable<double, DoublePa
---
## `Vector2Condition`
Condition of type `Vector2`. Inherits from `AtomCondition<Vector2>`.
---
## `FloatCondition`
Condition of type `float`. Inherits from `AtomCondition<float>`.
---
## `Collision2DCondition`
Condition of type `Collision2D`. Inherits from `AtomCondition<Collision2D>`.
---
## `CollisionCondition`
Condition of type `Collision`. Inherits from `AtomCondition<Collision>`.
---
## `QuaternionCondition`
Condition of type `Quaternion`. Inherits from `AtomCondition<Quaternion>`.
---
## `ColliderCondition`
Condition of type `Collider`. Inherits from `AtomCondition<Collider>`.
---
## `IntCondition`
Condition of type `int`. Inherits from `AtomCondition<int>`.
---
## `ColorCondition`
Condition of type `Color`. Inherits from `AtomCondition<Color>`.
---
## `BoolCondition`
Condition of type `bool`. Inherits from `AtomCondition<bool>`.
---
## `Collider2DCondition`
Condition of type `Collider2D`. Inherits from `AtomCondition<Collider2D>`.
---
## `GameObjectCondition`
Condition of type `GameObject`. Inherits from `AtomCondition<GameObject>`.
---
## `Vector3Condition`
Condition of type `Vector3`. Inherits from `AtomCondition<Vector3>`.
---
## `StringCondition`
Condition of type `string`. Inherits from `AtomCondition<string>`.
---
## `DoubleCondition`
Condition of type `double`. Inherits from `AtomCondition<double>`.
---
## `AtomBaseVariableAction`
Action of type `AtomBaseVariable`. Inherits from `AtomAction<AtomBaseVariable>`.
@ -1367,6 +1607,12 @@ Action of type `Color`. Inherits from `AtomAction<Color>`.
---
## `CollisionPairAction`
Action of type `CollisionPair`. Inherits from `AtomAction<CollisionPair>`.
---
## `IntPairAction`
Action of type `IntPair`. Inherits from `AtomAction<IntPair>`.
@ -1433,6 +1679,12 @@ Action of type `DoublePair`. Inherits from `AtomAction<DoublePair>`.
---
## `Collision2DPairAction`
Action of type `Collision2DPair`. Inherits from `AtomAction<Collision2DPair>`.
---
## `QuaternionAction`
Action of type `Quaternion`. Inherits from `AtomAction<Quaternion>`.
@ -1451,6 +1703,12 @@ Action of type `int`. Inherits from `AtomAction<int>`.
---
## `CollisionAction`
Action of type `Collision`. Inherits from `AtomAction<Collision>`.
---
## `StringPairAction`
Action of type `StringPair`. Inherits from `AtomAction<StringPair>`.
@ -1475,6 +1733,12 @@ Action of type `Collider2D`. Inherits from `AtomAction<Collider2D>`.
---
## `Collision2DAction`
Action of type `Collision2D`. Inherits from `AtomAction<Collision2D>`.
---
## `FloatFloatFunction`
Function x 2 of type `float`. Inherits from `AtomFunction<float, float>`.
@ -1517,6 +1781,18 @@ Function x 2 of type `GameObject`. Inherits from `AtomFunction<GameObject, GameO
---
## `Collision2DCollision2DFunction`
Function x 2 of type `Collision2D`. Inherits from `AtomFunction<Collision2D, Collision2D>`.
---
## `CollisionCollisionFunction`
Function x 2 of type `Collision`. Inherits from `AtomFunction<Collision, Collision>`.
---
## `DoubleDoubleFunction`
Function x 2 of type `double`. Inherits from `AtomFunction<double, double>`.
@ -1589,6 +1865,12 @@ Adds Variable Instancer's Variable of type Quaternion to a Collection or List on
---
## `SyncCollisionVariableInstancerToCollection`
Adds Variable Instancer's Variable of type Collision to a Collection or List on OnEnable and removes it on OnDestroy.
---
## `SyncVector3VariableInstancerToCollection`
Adds Variable Instancer's Variable of type Vector3 to a Collection or List on OnEnable and removes it on OnDestroy.
@ -1613,6 +1895,12 @@ Adds Variable Instancer's Variable of type Color to a Collection or List on OnEn
---
## `SyncCollision2DVariableInstancerToCollection`
Adds Variable Instancer's Variable of type Collision2D to a Collection or List on OnEnable and removes it on OnDestroy.
---
## `SyncIntVariableInstancerToCollection`
Adds Variable Instancer's Variable of type int to a Collection or List on OnEnable and removes it on OnDestroy.
@ -1631,6 +1919,12 @@ Event of type `double`. Inherits from `AtomEvent<double>`.
---
## `Collision2DPairEvent`
Event of type `Collision2DPair`. Inherits from `AtomEvent<Collision2DPair>`.
---
## `Vector2PairEvent`
Event of type `Vector2Pair`. Inherits from `AtomEvent<Vector2Pair>`.
@ -1649,12 +1943,24 @@ Event of type `GameObject`. Inherits from `AtomEvent<GameObject>`.
---
## `CollisionEvent`
Event of type `Collision`. Inherits from `AtomEvent<Collision>`.
---
## `BoolPairEvent`
Event of type `BoolPair`. Inherits from `AtomEvent<BoolPair>`.
---
## `Collision2DEvent`
Event of type `Collision2D`. Inherits from `AtomEvent<Collision2D>`.
---
## `ColorPairEvent`
Event of type `ColorPair`. Inherits from `AtomEvent<ColorPair>`.
@ -1673,6 +1979,12 @@ Event of type `IntPair`. Inherits from `AtomEvent<IntPair>`.
---
## `CollisionPairEvent`
Event of type `CollisionPair`. Inherits from `AtomEvent<CollisionPair>`.
---
## `QuaternionPairEvent`
Event of type `QuaternionPair`. Inherits from `AtomEvent<QuaternionPair>`.
@ -2304,6 +2616,12 @@ Value List of type `float`. Inherits from `AtomValueList<float, FloatEvent>`.
---
## `Collision2DValueList`
Value List of type `Collision2D`. Inherits from `AtomValueList<Collision2D, Collision2DEvent>`.
---
## `Vector2ValueList`
Value List of type `Vector2`. Inherits from `AtomValueList<Vector2, Vector2Event>`.
@ -2322,6 +2640,12 @@ Value List of type `Color`. Inherits from `AtomValueList<Color, ColorEvent>`.
---
## `CollisionValueList`
Value List of type `Collision`. Inherits from `AtomValueList<Collision, CollisionEvent>`.
---
## `QuaternionValueList`
Value List of type `Quaternion`. Inherits from `AtomValueList<Quaternion, QuaternionEvent>`.
@ -2418,6 +2742,12 @@ Set variable value Action of type `Vector3`. Inherits from `SetVariableValue<Vec
---
## `SetCollisionVariableValue`
Set variable value Action of type `Collision`. Inherits from `SetVariableValue<Collision, CollisionPair, CollisionVariable, CollisionConstant, CollisionReference, CollisionEvent, CollisionPairEvent, CollisionVariableInstancer>`.
---
## `SetGameObjectVariableValue`
Set variable value Action of type `GameObject`. Inherits from `SetVariableValue<GameObject, GameObjectPair, GameObjectVariable, GameObjectConstant, GameObjectReference, GameObjectEvent, GameObjectPairEvent, GameObjectVariableInstancer>`.
@ -2430,6 +2760,12 @@ Set variable value Action of type `string`. Inherits from `SetVariableValue<stri
---
## `SetCollision2DVariableValue`
Set variable value Action of type `Collision2D`. Inherits from `SetVariableValue<Collision2D, Collision2DPair, Collision2DVariable, Collision2DConstant, Collision2DReference, Collision2DEvent, Collision2DPairEvent, Collision2DVariableInstancer>`.
---
## `SetIntVariableValue`
Set variable value Action of type `int`. Inherits from `SetVariableValue<int, IntPair, IntVariable, IntConstant, IntReference, IntEvent, IntPairEvent, IntVariableInstancer>`.

View File

@ -93,6 +93,10 @@ Variable Instancer used if `Usage` is set to `VariableInstancer`.
Get or set the value for the Reference.
---
#### `IsUnassigned`
### Methods
#### `GetEvent<E>`
@ -290,6 +294,20 @@ Set event by type.
---
#### `GetOrCreateEvent<E>`
Get event by type. Creates it if it doesn't exist.
#### Type Parameters
- `E` - undefined
##### Returns
The event.
---
## `AtomBaseVariableInstancer<V,P,T,E1,E2,F>`
#### Type Parameters
@ -371,6 +389,12 @@ Use to make a field read only in the Unity inspector. Solution taken from here:
---
## `AtomsSearchable`
Attribute that makes an Atom searchable.
---
## `AtomEventInstancer<T,E>`
#### Type Parameters
@ -572,6 +596,18 @@ When setting the value of a Variable the new value will be piped through all the
### Methods
#### `SetInitialValues`
Set initial values
---
#### `TriggerInitialEvents`
Trigger initial events if related options enabled
---
#### `Reset(System.Boolean)`
Reset the Variable to its `_initialValue`.
@ -658,6 +694,20 @@ Set event by type.
---
#### `GetOrCreateEvent<E>`
Get event by type (allowing inheritance). Creates an event if the type is supported for this Variable, but the Event itself is `null`.
#### Type Parameters
- `E` - undefined
##### Returns
{"_":"Changed - If Changed (or ChangedWithHistory) are of type E\n ChangedWithHistory - If not Changed but ChangedWithHistory is of type E\n \n ","exception":[{"_":"if none of the events are of type E","$":{"cref":"T:System.NotSupportedException"}}]}
---
## `EquatableAtomVariable<T,P,E1,E2,F>`
#### Type Parameters
@ -672,6 +722,12 @@ Atom Variable base class for types that are implementing `IEquatable<T>`.
---
## `AtomConditionOperators`
Enumeration for logical operators for `AtomCondition` Predicates
---
## `AtomAction`
Base abstract class for Actions. Inherits from `BaseAtom`.
@ -1015,6 +1071,12 @@ Unregister handler that was registered using the `Register` method.
---
#### `UnregisterAll`
Unregister all handlers that were registered using the `Register` method.
---
#### `RegisterListener(UnityAtoms.IAtomListener)`
Register a Listener that in turn trigger all its associated handlers when the Event triggers.
@ -1198,6 +1260,18 @@ The Unity Event responses. NOTE: This variable is public due to this bug: https:
The Action responses;
---
#### `_conditions`
The Conditions to evaluate;
---
#### `_operator`
The logical operator to apply for conditions
### Properties
#### `Event`
@ -1497,6 +1571,12 @@ Interface for setting an event.
---
## `IGetOrCreateEvent`
Interface for getting or creating an event.
---
## `IGetEvent`
Interface for getting an event.

View File

@ -226,6 +226,12 @@ Variable of type `TouchUserInput`. Inherits from `EquatableAtomVariable<TouchUse
---
## `TouchUserInputCondition`
Condition of type `TouchUserInput`. Inherits from `AtomCondition<TouchUserInput>`.
---
## `TouchUserInputPairAction`
Action of type `TouchUserInputPair`. Inherits from `AtomAction<TouchUserInputPair>`.

View File

@ -7,18 +7,36 @@ sidebar_label: UnityAtoms.MonoHooks.Editor
# Namespace - `UnityAtoms.MonoHooks.Editor`
## `CollisionGameObjectVariableEditor`
Variable Inspector of type `CollisionGameObject`. Inherits from `AtomVariableEditor`
---
## `Collider2DGameObjectVariableEditor`
Variable Inspector of type `Collider2DGameObject`. Inherits from `AtomVariableEditor`
---
## `Collision2DGameObjectVariableEditor`
Variable Inspector of type `Collision2DGameObject`. Inherits from `AtomVariableEditor`
---
## `ColliderGameObjectVariableEditor`
Variable Inspector of type `ColliderGameObject`. Inherits from `AtomVariableEditor`
---
## `Collision2DGameObjectEventEditor`
Event property drawer of type `Collision2DGameObject`. Inherits from `AtomEventEditor<Collision2DGameObject, Collision2DGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collider2DGameObjectPairEventEditor`
Event property drawer of type `Collider2DGameObjectPair`. Inherits from `AtomEventEditor<Collider2DGameObjectPair, Collider2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -31,12 +49,30 @@ Event property drawer of type `Collider2DGameObject`. Inherits from `AtomEventEd
---
## `Collision2DGameObjectPairEventEditor`
Event property drawer of type `Collision2DGameObjectPair`. Inherits from `AtomEventEditor<Collision2DGameObjectPair, Collision2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColliderGameObjectEventEditor`
Event property drawer of type `ColliderGameObject`. Inherits from `AtomEventEditor<ColliderGameObject, ColliderGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectPairEventEditor`
Event property drawer of type `CollisionGameObjectPair`. Inherits from `AtomEventEditor<CollisionGameObjectPair, CollisionGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectEventEditor`
Event property drawer of type `CollisionGameObject`. Inherits from `AtomEventEditor<CollisionGameObject, CollisionGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColliderGameObjectPairEventEditor`
Event property drawer of type `ColliderGameObjectPair`. Inherits from `AtomEventEditor<ColliderGameObjectPair, ColliderGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -49,6 +85,18 @@ Constant property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer
---
## `Collision2DGameObjectConstantDrawer`
Constant property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectConstantDrawer`
Constant property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collider2DGameObjectConstantDrawer`
Constant property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -61,18 +109,42 @@ Variable property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer
---
## `Collision2DGameObjectVariableDrawer`
Variable property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collider2DGameObjectVariableDrawer`
Variable property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectVariableDrawer`
Variable property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColliderGameObjectPairEventDrawer`
Event property drawer of type `ColliderGameObjectPair`. Inherits from `AtomDrawer<ColliderGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectEventDrawer`
Event property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectPairEventDrawer`
Event property drawer of type `CollisionGameObjectPair`. Inherits from `AtomDrawer<CollisionGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `ColliderGameObjectEventDrawer`
Event property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer<ColliderGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -85,12 +157,30 @@ Event property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<
---
## `Collision2DGameObjectPairEventDrawer`
Event property drawer of type `Collision2DGameObjectPair`. Inherits from `AtomDrawer<Collision2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collision2DGameObjectEventDrawer`
Event property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collider2DGameObjectPairEventDrawer`
Event property drawer of type `Collider2DGameObjectPair`. Inherits from `AtomDrawer<Collider2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collision2DGameObjectValueListDrawer`
Value List property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `Collider2DGameObjectValueListDrawer`
Value List property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
@ -102,3 +192,9 @@ Value List property drawer of type `Collider2DGameObject`. Inherits from `AtomDr
Value List property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer<ColliderGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---
## `CollisionGameObjectValueListDrawer`
Value List property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`.
---

View File

@ -7,6 +7,12 @@ sidebar_label: UnityAtoms.MonoHooks
# Namespace - `UnityAtoms.MonoHooks`
## `CollisionGameObjectPairEventReferenceListener`
Event Reference Listener of type `CollisionGameObjectPair`. Inherits from `AtomEventReferenceListener<CollisionGameObjectPair, CollisionGameObjectPairEvent, CollisionGameObjectPairEventReference, CollisionGameObjectPairUnityEvent>`.
---
## `Collider2DGameObjectEventReferenceListener`
Event Reference Listener of type `Collider2DGameObject`. Inherits from `AtomEventReferenceListener<Collider2DGameObject, Collider2DGameObjectEvent, Collider2DGameObjectEventReference, Collider2DGameObjectUnityEvent>`.
@ -19,6 +25,12 @@ Event Reference Listener of type `ColliderGameObject`. Inherits from `AtomEventR
---
## `Collision2DGameObjectEventReferenceListener`
Event Reference Listener of type `Collision2DGameObject`. Inherits from `AtomEventReferenceListener<Collision2DGameObject, Collision2DGameObjectEvent, Collision2DGameObjectEventReference, Collision2DGameObjectUnityEvent>`.
---
## `Collider2DGameObjectPairEventReferenceListener`
Event Reference Listener of type `Collider2DGameObjectPair`. Inherits from `AtomEventReferenceListener<Collider2DGameObjectPair, Collider2DGameObjectPairEvent, Collider2DGameObjectPairEventReference, Collider2DGameObjectPairUnityEvent>`.
@ -31,12 +43,36 @@ Event Reference Listener of type `ColliderGameObjectPair`. Inherits from `AtomEv
---
## `Collision2DGameObjectPairEventReferenceListener`
Event Reference Listener of type `Collision2DGameObjectPair`. Inherits from `AtomEventReferenceListener<Collision2DGameObjectPair, Collision2DGameObjectPairEvent, Collision2DGameObjectPairEventReference, Collision2DGameObjectPairUnityEvent>`.
---
## `CollisionGameObjectEventReferenceListener`
Event Reference Listener of type `CollisionGameObject`. Inherits from `AtomEventReferenceListener<CollisionGameObject, CollisionGameObjectEvent, CollisionGameObjectEventReference, CollisionGameObjectUnityEvent>`.
---
## `ColliderGameObjectReference`
Reference of type `ColliderGameObject`. Inherits from `EquatableAtomReference<ColliderGameObject, ColliderGameObjectPair, ColliderGameObjectConstant, ColliderGameObjectVariable, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectColliderGameObjectFunction, ColliderGameObjectVariableInstancer, AtomCollection, AtomList>`.
---
## `CollisionGameObjectReference`
Reference of type `CollisionGameObject`. Inherits from `EquatableAtomReference<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectConstant, CollisionGameObjectVariable, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectCollisionGameObjectFunction, CollisionGameObjectVariableInstancer, AtomCollection, AtomList>`.
---
## `Collision2DGameObjectReference`
Reference of type `Collision2DGameObject`. Inherits from `EquatableAtomReference<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectConstant, Collision2DGameObjectVariable, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectCollision2DGameObjectFunction, Collision2DGameObjectVariableInstancer, AtomCollection, AtomList>`.
---
## `Collider2DGameObjectReference`
Reference of type `Collider2DGameObject`. Inherits from `EquatableAtomReference<Collider2DGameObject, Collider2DGameObjectPair, Collider2DGameObjectConstant, Collider2DGameObjectVariable, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectCollider2DGameObjectFunction, Collider2DGameObjectVariableInstancer, AtomCollection, AtomList>`.
@ -49,12 +85,30 @@ IPair of type `<Collider2DGameObject>`. Inherits from `IPair<Collider2DGameObjec
---
## `Collision2DGameObjectPair`
IPair of type `<Collision2DGameObject>`. Inherits from `IPair<Collision2DGameObject>`.
---
## `ColliderGameObjectPair`
IPair of type `<ColliderGameObject>`. Inherits from `IPair<ColliderGameObject>`.
---
## `CollisionGameObjectPair`
IPair of type `<CollisionGameObject>`. Inherits from `IPair<CollisionGameObject>`.
---
## `Collision2DGameObjectUnityEvent`
None generic Unity Event of type `Collision2DGameObject`. Inherits from `UnityEvent<Collision2DGameObject>`.
---
## `Collider2DGameObjectUnityEvent`
None generic Unity Event of type `Collider2DGameObject`. Inherits from `UnityEvent<Collider2DGameObject>`.
@ -67,6 +121,24 @@ None generic Unity Event of type `Collider2DGameObjectPair`. Inherits from `Unit
---
## `CollisionGameObjectPairUnityEvent`
None generic Unity Event of type `CollisionGameObjectPair`. Inherits from `UnityEvent<CollisionGameObjectPair>`.
---
## `CollisionGameObjectUnityEvent`
None generic Unity Event of type `CollisionGameObject`. Inherits from `UnityEvent<CollisionGameObject>`.
---
## `Collision2DGameObjectPairUnityEvent`
None generic Unity Event of type `Collision2DGameObjectPair`. Inherits from `UnityEvent<Collision2DGameObjectPair>`.
---
## `ColliderGameObjectPairUnityEvent`
None generic Unity Event of type `ColliderGameObjectPair`. Inherits from `UnityEvent<ColliderGameObjectPair>`.
@ -85,12 +157,36 @@ Constant of type `ColliderGameObject`. Inherits from `AtomBaseVariable<ColliderG
---
## `Collision2DGameObjectConstant`
Constant of type `Collision2DGameObject`. Inherits from `AtomBaseVariable<Collision2DGameObject>`.
---
## `Collider2DGameObjectConstant`
Constant of type `Collider2DGameObject`. Inherits from `AtomBaseVariable<Collider2DGameObject>`.
---
## `CollisionGameObjectConstant`
Constant of type `CollisionGameObject`. Inherits from `AtomBaseVariable<CollisionGameObject>`.
---
## `CollisionGameObjectEventReference`
Event Reference of type `CollisionGameObject`. Inherits from `AtomEventReference<CollisionGameObject, CollisionGameObjectVariable, CollisionGameObjectEvent, CollisionGameObjectVariableInstancer, CollisionGameObjectEventInstancer>`.
---
## `CollisionGameObjectPairEventReference`
Event Reference of type `CollisionGameObjectPair`. Inherits from `AtomEventReference<CollisionGameObjectPair, CollisionGameObjectVariable, CollisionGameObjectPairEvent, CollisionGameObjectVariableInstancer, CollisionGameObjectPairEventInstancer>`.
---
## `ColliderGameObjectPairEventReference`
Event Reference of type `ColliderGameObjectPair`. Inherits from `AtomEventReference<ColliderGameObjectPair, ColliderGameObjectVariable, ColliderGameObjectPairEvent, ColliderGameObjectVariableInstancer, ColliderGameObjectPairEventInstancer>`.
@ -109,36 +205,84 @@ Event Reference of type `Collider2DGameObjectPair`. Inherits from `AtomEventRefe
---
## `Collision2DGameObjectPairEventReference`
Event Reference of type `Collision2DGameObjectPair`. Inherits from `AtomEventReference<Collision2DGameObjectPair, Collision2DGameObjectVariable, Collision2DGameObjectPairEvent, Collision2DGameObjectVariableInstancer, Collision2DGameObjectPairEventInstancer>`.
---
## `ColliderGameObjectEventReference`
Event Reference of type `ColliderGameObject`. Inherits from `AtomEventReference<ColliderGameObject, ColliderGameObjectVariable, ColliderGameObjectEvent, ColliderGameObjectVariableInstancer, ColliderGameObjectEventInstancer>`.
---
## `Collision2DGameObjectEventReference`
Event Reference of type `Collision2DGameObject`. Inherits from `AtomEventReference<Collision2DGameObject, Collision2DGameObjectVariable, Collision2DGameObjectEvent, Collision2DGameObjectVariableInstancer, Collision2DGameObjectEventInstancer>`.
---
## `ColliderGameObjectVariableInstancer`
Variable Instancer of type `ColliderGameObject`. Inherits from `AtomVariableInstancer<ColliderGameObjectVariable, ColliderGameObjectPair, ColliderGameObject, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectColliderGameObjectFunction>`.
---
## `CollisionGameObjectVariableInstancer`
Variable Instancer of type `CollisionGameObject`. Inherits from `AtomVariableInstancer<CollisionGameObjectVariable, CollisionGameObjectPair, CollisionGameObject, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectCollisionGameObjectFunction>`.
---
## `Collider2DGameObjectVariableInstancer`
Variable Instancer of type `Collider2DGameObject`. Inherits from `AtomVariableInstancer<Collider2DGameObjectVariable, Collider2DGameObjectPair, Collider2DGameObject, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectCollider2DGameObjectFunction>`.
---
## `Collision2DGameObjectVariableInstancer`
Variable Instancer of type `Collision2DGameObject`. Inherits from `AtomVariableInstancer<Collision2DGameObjectVariable, Collision2DGameObjectPair, Collision2DGameObject, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectCollision2DGameObjectFunction>`.
---
## `Collision2DGameObjectPairEventInstancer`
Event Instancer of type `Collision2DGameObjectPair`. Inherits from `AtomEventInstancer<Collision2DGameObjectPair, Collision2DGameObjectPairEvent>`.
---
## `ColliderGameObjectEventInstancer`
Event Instancer of type `ColliderGameObject`. Inherits from `AtomEventInstancer<ColliderGameObject, ColliderGameObjectEvent>`.
---
## `Collision2DGameObjectEventInstancer`
Event Instancer of type `Collision2DGameObject`. Inherits from `AtomEventInstancer<Collision2DGameObject, Collision2DGameObjectEvent>`.
---
## `Collider2DGameObjectPairEventInstancer`
Event Instancer of type `Collider2DGameObjectPair`. Inherits from `AtomEventInstancer<Collider2DGameObjectPair, Collider2DGameObjectPairEvent>`.
---
## `CollisionGameObjectEventInstancer`
Event Instancer of type `CollisionGameObject`. Inherits from `AtomEventInstancer<CollisionGameObject, CollisionGameObjectEvent>`.
---
## `CollisionGameObjectPairEventInstancer`
Event Instancer of type `CollisionGameObjectPair`. Inherits from `AtomEventInstancer<CollisionGameObjectPair, CollisionGameObjectPairEvent>`.
---
## `ColliderGameObjectPairEventInstancer`
Event Instancer of type `ColliderGameObjectPair`. Inherits from `AtomEventInstancer<ColliderGameObjectPair, ColliderGameObjectPairEvent>`.
@ -157,12 +301,24 @@ Variable of type `Collider2DGameObject`. Inherits from `EquatableAtomVariable<Co
---
## `CollisionGameObjectVariable`
Variable of type `CollisionGameObject`. Inherits from `EquatableAtomVariable<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectCollisionGameObjectFunction>`.
---
## `ColliderGameObjectVariable`
Variable of type `ColliderGameObject`. Inherits from `EquatableAtomVariable<ColliderGameObject, ColliderGameObjectPair, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectColliderGameObjectFunction>`.
---
## `Collision2DGameObjectVariable`
Variable of type `Collision2DGameObject`. Inherits from `EquatableAtomVariable<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectCollision2DGameObjectFunction>`.
---
## `OnDestroyHook`
Mono Hook for [`OnDestroy`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnDestroy.html)
@ -235,6 +391,42 @@ Set to true if Event should be triggered on `OnTriggerStay`
---
## `OnCollisionHook`
Mono Hook for [`OnCollisionEnter`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnCollisionEnter.html), [`OnCollisionExit`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnCollisionExit.html) and [`OnCollisionStay`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnCollisionStay.html)
### Variables
#### `_collisionOnEnter`
Set to true if Event should be triggered on `OnCollisionEnter`
---
#### `_collisionOnExit`
Set to true if Event should be triggered on `OnCollisionExit`
---
#### `_collisionOnStay`
Set to true if Event should be triggered on `OnCollisionStay`
---
## `Collision2DHook`
Base class for all `MonoHook`s of type `Collision2D`.
### Properties
#### `EventWithGameObject`
Event including a GameObject reference.
---
## `MonoHook<E,EV,F>`
#### Type Parameters
@ -259,6 +451,30 @@ The Event
---
## `OnCollision2DHook`
Mono Hook for [`OnCollisionEnter2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnCollisionEnter2D.html), [`OnCollisionExit2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnCollisionExit2D.html) and [`OnCollisionStay2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnCollisionStay2D.html)
### Variables
#### `_collisionOnEnter`
Set to true if Event should be triggered on `OnCollisionEnter2D`
---
#### `_collisionOnExit`
Set to true if Event should be triggered on `OnCollisionExit2D`
---
#### `_collisionOnStay`
Set to true if Event should be triggered on `OnCollisionStay2D`
---
## `OnLateUpdateHook`
Mono Hook for [`LateUpdate`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.LateUpdate.html)
@ -283,6 +499,18 @@ Mono Hook for `OnPointerDown`
---
## `CollisionHook`
Base class for all `MonoHook`s of type `Collision`.
### Properties
#### `EventWithGameObject`
Event including a GameObject reference.
---
## `Collider2DHook`
Base class for all `MonoHook`s of type `Collider2D`.
@ -343,18 +571,60 @@ Selector function for the Event `EventWithGameObjectReference`. Makes it possibl
---
## `ColliderGameObjectCondition`
Condition of type `ColliderGameObject`. Inherits from `AtomCondition<ColliderGameObject>`.
---
## `CollisionGameObjectCondition`
Condition of type `CollisionGameObject`. Inherits from `AtomCondition<CollisionGameObject>`.
---
## `Collision2DGameObjectCondition`
Condition of type `Collision2DGameObject`. Inherits from `AtomCondition<Collision2DGameObject>`.
---
## `Collider2DGameObjectCondition`
Condition of type `Collider2DGameObject`. Inherits from `AtomCondition<Collider2DGameObject>`.
---
## `Collider2DGameObjectAction`
Action of type `Collider2DGameObject`. Inherits from `AtomAction<Collider2DGameObject>`.
---
## `Collision2DGameObjectPairAction`
Action of type `Collision2DGameObjectPair`. Inherits from `AtomAction<Collision2DGameObjectPair>`.
---
## `Collision2DGameObjectAction`
Action of type `Collision2DGameObject`. Inherits from `AtomAction<Collision2DGameObject>`.
---
## `Collider2DGameObjectPairAction`
Action of type `Collider2DGameObjectPair`. Inherits from `AtomAction<Collider2DGameObjectPair>`.
---
## `CollisionGameObjectAction`
Action of type `CollisionGameObject`. Inherits from `AtomAction<CollisionGameObject>`.
---
## `ColliderGameObjectPairAction`
Action of type `ColliderGameObjectPair`. Inherits from `AtomAction<ColliderGameObjectPair>`.
@ -367,18 +637,42 @@ Action of type `ColliderGameObject`. Inherits from `AtomAction<ColliderGameObjec
---
## `CollisionGameObjectPairAction`
Action of type `CollisionGameObjectPair`. Inherits from `AtomAction<CollisionGameObjectPair>`.
---
## `CollisionGameObjectCollisionGameObjectFunction`
Function x 2 of type `CollisionGameObject`. Inherits from `AtomFunction<CollisionGameObject, CollisionGameObject>`.
---
## `Collider2DGameObjectCollider2DGameObjectFunction`
Function x 2 of type `Collider2DGameObject`. Inherits from `AtomFunction<Collider2DGameObject, Collider2DGameObject>`.
---
## `Collision2DGameObjectCollision2DGameObjectFunction`
Function x 2 of type `Collision2DGameObject`. Inherits from `AtomFunction<Collision2DGameObject, Collision2DGameObject>`.
---
## `ColliderGameObjectColliderGameObjectFunction`
Function x 2 of type `ColliderGameObject`. Inherits from `AtomFunction<ColliderGameObject, ColliderGameObject>`.
---
## `SyncCollision2DGameObjectVariableInstancerToCollection`
Adds Variable Instancer's Variable of type Collision2DGameObject to a Collection or List on OnEnable and removes it on OnDestroy.
---
## `SyncCollider2DGameObjectVariableInstancerToCollection`
Adds Variable Instancer's Variable of type Collider2DGameObject to a Collection or List on OnEnable and removes it on OnDestroy.
@ -391,12 +685,36 @@ Adds Variable Instancer's Variable of type ColliderGameObject to a Collection or
---
## `SyncCollisionGameObjectVariableInstancerToCollection`
Adds Variable Instancer's Variable of type CollisionGameObject to a Collection or List on OnEnable and removes it on OnDestroy.
---
## `ColliderGameObjectPairEvent`
Event of type `ColliderGameObjectPair`. Inherits from `AtomEvent<ColliderGameObjectPair>`.
---
## `CollisionGameObjectPairEvent`
Event of type `CollisionGameObjectPair`. Inherits from `AtomEvent<CollisionGameObjectPair>`.
---
## `Collision2DGameObjectPairEvent`
Event of type `Collision2DGameObjectPair`. Inherits from `AtomEvent<Collision2DGameObjectPair>`.
---
## `CollisionGameObjectEvent`
Event of type `CollisionGameObject`. Inherits from `AtomEvent<CollisionGameObject>`.
---
## `ColliderGameObjectEvent`
Event of type `ColliderGameObject`. Inherits from `AtomEvent<ColliderGameObject>`.
@ -415,24 +733,54 @@ Event of type `Collider2DGameObjectPair`. Inherits from `AtomEvent<Collider2DGam
---
## `Collision2DGameObjectEvent`
Event of type `Collision2DGameObject`. Inherits from `AtomEvent<Collision2DGameObject>`.
---
## `ColliderGameObjectValueList`
Value List of type `ColliderGameObject`. Inherits from `AtomValueList<ColliderGameObject, ColliderGameObjectEvent>`.
---
## `CollisionGameObjectValueList`
Value List of type `CollisionGameObject`. Inherits from `AtomValueList<CollisionGameObject, CollisionGameObjectEvent>`.
---
## `Collision2DGameObjectValueList`
Value List of type `Collision2DGameObject`. Inherits from `AtomValueList<Collision2DGameObject, Collision2DGameObjectEvent>`.
---
## `Collider2DGameObjectValueList`
Value List of type `Collider2DGameObject`. Inherits from `AtomValueList<Collider2DGameObject, Collider2DGameObjectEvent>`.
---
## `SetCollisionGameObjectVariableValue`
Set variable value Action of type `CollisionGameObject`. Inherits from `SetVariableValue<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectVariable, CollisionGameObjectConstant, CollisionGameObjectReference, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectVariableInstancer>`.
---
## `SetCollider2DGameObjectVariableValue`
Set variable value Action of type `Collider2DGameObject`. Inherits from `SetVariableValue<Collider2DGameObject, Collider2DGameObjectPair, Collider2DGameObjectVariable, Collider2DGameObjectConstant, Collider2DGameObjectReference, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectVariableInstancer>`.
---
## `SetCollision2DGameObjectVariableValue`
Set variable value Action of type `Collision2DGameObject`. Inherits from `SetVariableValue<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectVariable, Collision2DGameObjectConstant, Collision2DGameObjectReference, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectVariableInstancer>`.
---
## `SetColliderGameObjectVariableValue`
Set variable value Action of type `ColliderGameObject`. Inherits from `SetVariableValue<ColliderGameObject, ColliderGameObjectPair, ColliderGameObjectVariable, ColliderGameObjectConstant, ColliderGameObjectReference, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectVariableInstancer>`.

View File

@ -213,6 +213,12 @@ Variable of type `SceneField`. Inherits from `EquatableAtomVariable<SceneField,
---
## `SceneFieldCondition`
Condition of type `SceneField`. Inherits from `AtomCondition<SceneField>`.
---
## `SceneFieldPairAction`
Action of type `SceneFieldPair`. Inherits from `AtomAction<SceneFieldPair>`.

View File

@ -35,14 +35,14 @@ Add the following to your `manifest.json`:
],
"dependencies": {
...
"com.mambojambostudios.unity-atoms-core": "4.3.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.3.0",
"com.mambojambostudios.unity-atoms-fsm": "4.3.0",
"com.mambojambostudios.unity-atoms-mobile": "4.3.0",
"com.mambojambostudios.unity-atoms-mono-hooks": "4.3.0",
"com.mambojambostudios.unity-atoms-tags": "4.3.0",
"com.mambojambostudios.unity-atoms-scene-mgmt": "4.3.0",
"com.mambojambostudios.unity-atoms-ui": "4.3.0",
"com.mambojambostudios.unity-atoms-core": "4.4.0",
"com.mambojambostudios.unity-atoms-base-atoms": "4.4.0",
"com.mambojambostudios.unity-atoms-fsm": "4.4.0",
"com.mambojambostudios.unity-atoms-mobile": "4.4.0",
"com.mambojambostudios.unity-atoms-mono-hooks": "4.4.0",
"com.mambojambostudios.unity-atoms-tags": "4.4.0",
"com.mambojambostudios.unity-atoms-scene-mgmt": "4.4.0",
"com.mambojambostudios.unity-atoms-ui": "4.4.0",
...
}
}

View File

@ -1,7 +1,7 @@
{
"name": "com.mambojambostudios.unity-atoms",
"displayName": "Unity Atoms",
"version": "4.3.0",
"version": "4.4.0",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},