diff --git a/Packages/BaseAtoms/Physics/ColliderGen.asset b/Packages/BaseAtoms/Physics/ColliderGen.asset new file mode 100644 index 00000000..a0273c87 --- /dev/null +++ b/Packages/BaseAtoms/Physics/ColliderGen.asset @@ -0,0 +1,40 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 734fbfb568154d32a89d792102f0c779, type: 3} + m_Name: ColliderGen + m_EditorClassIdentifier: + FullQualifiedName: UnityEngine.Collider, UnityEngine.PhysicsModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + GenerationOptions: 4194303 + Scripts: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} diff --git a/Packages/BaseAtoms/Physics/ColliderGen.asset.meta b/Packages/BaseAtoms/Physics/ColliderGen.asset.meta new file mode 100644 index 00000000..be491250 --- /dev/null +++ b/Packages/BaseAtoms/Physics/ColliderGen.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6083b89b545d04e468a5b6f41c5df170 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/CollisionGen.asset b/Packages/BaseAtoms/Physics/CollisionGen.asset new file mode 100644 index 00000000..37bc8b6c --- /dev/null +++ b/Packages/BaseAtoms/Physics/CollisionGen.asset @@ -0,0 +1,18 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 734fbfb568154d32a89d792102f0c779, type: 3} + m_Name: CollisionGen + m_EditorClassIdentifier: + FullQualifiedName: UnityEngine.Collision, UnityEngine.PhysicsModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + GenerationOptions: 4194303 + Scripts: [] diff --git a/Packages/BaseAtoms/Physics/CollisionGen.asset.meta b/Packages/BaseAtoms/Physics/CollisionGen.asset.meta new file mode 100644 index 00000000..bd8f1d25 --- /dev/null +++ b/Packages/BaseAtoms/Physics/CollisionGen.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5fe0ffed157485046955bd2235bcc5b9 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated.meta b/Packages/BaseAtoms/Physics/Generated.meta new file mode 100644 index 00000000..a18e6423 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6acb059f5da2fb54699f0552aacc7f77 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions.meta b/Packages/BaseAtoms/Physics/Generated/Actions.meta new file mode 100644 index 00000000..479e0073 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6f8b7361dfef4b941a044ee7f156d3de +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/ColliderAction.cs b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderAction.cs new file mode 100644 index 00000000..26540f35 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `UnityEngine.Collider`. Inherits from `AtomAction<UnityEngine.Collider>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class ColliderAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/ColliderAction.cs.meta b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderAction.cs.meta new file mode 100644 index 00000000..4198be92 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5e0e367f7c867814c9c80adb7d0c2356 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/ColliderPairAction.cs b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderPairAction.cs new file mode 100644 index 00000000..5341c280 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderPairAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `ColliderPair`. Inherits from `AtomAction<ColliderPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class ColliderPairAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/ColliderPairAction.cs.meta b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderPairAction.cs.meta new file mode 100644 index 00000000..f982d185 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/ColliderPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 87da2dcbb8a332e45bde902f16599a6e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/CollisionAction.cs b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionAction.cs new file mode 100644 index 00000000..c56b3f07 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `UnityEngine.Collision`. Inherits from `AtomAction<UnityEngine.Collision>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class CollisionAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/CollisionAction.cs.meta b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionAction.cs.meta new file mode 100644 index 00000000..00d138f0 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b8bd7a426c7426e4980b84e82ab4abcb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/CollisionPairAction.cs b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionPairAction.cs new file mode 100644 index 00000000..5fd975c3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionPairAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `CollisionPair`. Inherits from `AtomAction<CollisionPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class CollisionPairAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/CollisionPairAction.cs.meta b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionPairAction.cs.meta new file mode 100644 index 00000000..a24d166b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/CollisionPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 03cd4efb2ff628d47a5d6a7ddac18333 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue.meta b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue.meta new file mode 100644 index 00000000..d1fe2373 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 86db260eeb550414c8c8761149a1fd62 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetColliderVariableValue.cs b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetColliderVariableValue.cs new file mode 100644 index 00000000..bd28bc22 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetColliderVariableValue.cs @@ -0,0 +1,22 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Set variable value Action of type `UnityEngine.Collider`. Inherits from `SetVariableValue<UnityEngine.Collider, ColliderPair, ColliderVariable, ColliderConstant, ColliderReference, ColliderEvent, ColliderPairEvent, ColliderVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/Collider", fileName = "SetColliderVariableValue")] + public sealed class SetColliderVariableValue : SetVariableValue< + UnityEngine.Collider, + ColliderPair, + ColliderVariable, + ColliderConstant, + ColliderReference, + ColliderEvent, + ColliderPairEvent, + ColliderColliderFunction, + ColliderVariableInstancer> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetColliderVariableValue.cs.meta b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetColliderVariableValue.cs.meta new file mode 100644 index 00000000..16957acf --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetColliderVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5cbf53575e25ab942a1d2aa840994fe9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetCollisionVariableValue.cs b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetCollisionVariableValue.cs new file mode 100644 index 00000000..4d2cfa35 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetCollisionVariableValue.cs @@ -0,0 +1,22 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Set variable value Action of type `UnityEngine.Collision`. Inherits from `SetVariableValue<UnityEngine.Collision, CollisionPair, CollisionVariable, CollisionConstant, CollisionReference, CollisionEvent, CollisionPairEvent, CollisionVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/Collision", fileName = "SetCollisionVariableValue")] + public sealed class SetCollisionVariableValue : SetVariableValue< + UnityEngine.Collision, + CollisionPair, + CollisionVariable, + CollisionConstant, + CollisionReference, + CollisionEvent, + CollisionPairEvent, + CollisionCollisionFunction, + CollisionVariableInstancer> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetCollisionVariableValue.cs.meta b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetCollisionVariableValue.cs.meta new file mode 100644 index 00000000..e5b08901 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Actions/SetVariableValue/SetCollisionVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6039baf038738b0429894db3de17edde +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Conditions.meta b/Packages/BaseAtoms/Physics/Generated/Conditions.meta new file mode 100644 index 00000000..3295e93d --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Conditions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f5a5d7fc778216b4e994ecd448e5b7cc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Conditions/ColliderCondition.cs b/Packages/BaseAtoms/Physics/Generated/Conditions/ColliderCondition.cs new file mode 100644 index 00000000..8146cd21 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Conditions/ColliderCondition.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Condition of type `UnityEngine.Collider`. Inherits from `AtomCondition<UnityEngine.Collider>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class ColliderCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics/Generated/Conditions/ColliderCondition.cs.meta b/Packages/BaseAtoms/Physics/Generated/Conditions/ColliderCondition.cs.meta new file mode 100644 index 00000000..3639b111 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Conditions/ColliderCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2685615a4be1ad748b175cbce8b94d13 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Conditions/CollisionCondition.cs b/Packages/BaseAtoms/Physics/Generated/Conditions/CollisionCondition.cs new file mode 100644 index 00000000..85cc7e74 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Conditions/CollisionCondition.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Condition of type `UnityEngine.Collision`. Inherits from `AtomCondition<UnityEngine.Collision>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class CollisionCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics/Generated/Conditions/CollisionCondition.cs.meta b/Packages/BaseAtoms/Physics/Generated/Conditions/CollisionCondition.cs.meta new file mode 100644 index 00000000..1325d8c1 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Conditions/CollisionCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 15dcb0d078241924d8e5090a4ca624bc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Constants.meta b/Packages/BaseAtoms/Physics/Generated/Constants.meta new file mode 100644 index 00000000..a5301746 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cd771858e5e0132459173a8132338441 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Constants/ColliderConstant.cs b/Packages/BaseAtoms/Physics/Generated/Constants/ColliderConstant.cs new file mode 100644 index 00000000..7aefb203 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Constants/ColliderConstant.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Constant of type `UnityEngine.Collider`. Inherits from `AtomBaseVariable<UnityEngine.Collider>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/Collider", fileName = "ColliderConstant")] + public sealed class ColliderConstant : AtomBaseVariable { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Constants/ColliderConstant.cs.meta b/Packages/BaseAtoms/Physics/Generated/Constants/ColliderConstant.cs.meta new file mode 100644 index 00000000..2ffd0a6c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Constants/ColliderConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c0130004ca738a449a856cd9ee1766ad +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Constants/CollisionConstant.cs b/Packages/BaseAtoms/Physics/Generated/Constants/CollisionConstant.cs new file mode 100644 index 00000000..6b1169bf --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Constants/CollisionConstant.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Constant of type `UnityEngine.Collision`. Inherits from `AtomBaseVariable<UnityEngine.Collision>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/Collision", fileName = "CollisionConstant")] + public sealed class CollisionConstant : AtomBaseVariable { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Constants/CollisionConstant.cs.meta b/Packages/BaseAtoms/Physics/Generated/Constants/CollisionConstant.cs.meta new file mode 100644 index 00000000..ec22030c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Constants/CollisionConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3a2b626bc565f974bbad9a8829909989 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor.meta b/Packages/BaseAtoms/Physics/Generated/Editor.meta new file mode 100644 index 00000000..272848ab --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 073aac8176e215148a1b411de645b9a7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers.meta new file mode 100644 index 00000000..b2841aac --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cdd3f32e5782eb2439c3da6c8a4a598f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants.meta new file mode 100644 index 00000000..9efab500 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c232140eb7fe2a946b85f2b6ec6beeb8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/ColliderConstantDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/ColliderConstantDrawer.cs new file mode 100644 index 00000000..2f49d52f --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/ColliderConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Constant property drawer of type `UnityEngine.Collider`. Inherits from `AtomDrawer<ColliderConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderConstant))] + public class ColliderConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/ColliderConstantDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/ColliderConstantDrawer.cs.meta new file mode 100644 index 00000000..a7f028b8 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/ColliderConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d72574bda26c321449c23c3e9021f9b9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/CollisionConstantDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/CollisionConstantDrawer.cs new file mode 100644 index 00000000..74a5744c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/CollisionConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Constant property drawer of type `UnityEngine.Collision`. Inherits from `AtomDrawer<CollisionConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionConstant))] + public class CollisionConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/CollisionConstantDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/CollisionConstantDrawer.cs.meta new file mode 100644 index 00000000..29c87c74 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Constants/CollisionConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a62d95c182609fa45adc1a4872799686 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events.meta new file mode 100644 index 00000000..14a61578 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3506ed02f64d3f844aad594a4c5c49ac +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderEventDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderEventDrawer.cs new file mode 100644 index 00000000..5d1cef81 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collider`. Inherits from `AtomDrawer<ColliderEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderEvent))] + public class ColliderEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderEventDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderEventDrawer.cs.meta new file mode 100644 index 00000000..1fb64e0e --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 69c088ce1e1f3204cbb46799d7308cdb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderPairEventDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderPairEventDrawer.cs new file mode 100644 index 00000000..5fca2960 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `ColliderPair`. Inherits from `AtomDrawer<ColliderPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderPairEvent))] + public class ColliderPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderPairEventDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderPairEventDrawer.cs.meta new file mode 100644 index 00000000..d775af13 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/ColliderPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 535ee1c41335097408546662cbc28872 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionEventDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionEventDrawer.cs new file mode 100644 index 00000000..2cfcabc3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collision`. Inherits from `AtomDrawer<CollisionEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionEvent))] + public class CollisionEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionEventDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionEventDrawer.cs.meta new file mode 100644 index 00000000..c8b6ccd1 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dffc127a5c9ab3845829218ca5897a16 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionPairEventDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionPairEventDrawer.cs new file mode 100644 index 00000000..8546ace4 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `CollisionPair`. Inherits from `AtomDrawer<CollisionPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionPairEvent))] + public class CollisionPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionPairEventDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionPairEventDrawer.cs.meta new file mode 100644 index 00000000..7fe1ff3d --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Events/CollisionPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 85e8a8dce51df3d4d96e56b6e5f4f631 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists.meta new file mode 100644 index 00000000..6aa273d6 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 016562926a3d63e408b23c2f867448a6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/ColliderValueListDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/ColliderValueListDrawer.cs new file mode 100644 index 00000000..9fd4a1ca --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/ColliderValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Value List property drawer of type `UnityEngine.Collider`. Inherits from `AtomDrawer<ColliderValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderValueList))] + public class ColliderValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/ColliderValueListDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/ColliderValueListDrawer.cs.meta new file mode 100644 index 00000000..ba2d3cb5 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/ColliderValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c8ab09f37bb749042b9b4c9e30b3199b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/CollisionValueListDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/CollisionValueListDrawer.cs new file mode 100644 index 00000000..54bfcc25 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/CollisionValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Value List property drawer of type `UnityEngine.Collision`. Inherits from `AtomDrawer<CollisionValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionValueList))] + public class CollisionValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/CollisionValueListDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/CollisionValueListDrawer.cs.meta new file mode 100644 index 00000000..4d642013 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/ValueLists/CollisionValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4f2374988555c1442af88361e09e51c4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables.meta new file mode 100644 index 00000000..a6ce8c46 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 42418101b54f5ef41a6ed6e772131c8d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/ColliderVariableDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/ColliderVariableDrawer.cs new file mode 100644 index 00000000..47c98e56 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/ColliderVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable property drawer of type `UnityEngine.Collider`. Inherits from `AtomDrawer<ColliderVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderVariable))] + public class ColliderVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/ColliderVariableDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/ColliderVariableDrawer.cs.meta new file mode 100644 index 00000000..7711f84e --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/ColliderVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 60653a15b3256dd42bad2365ef9f91b6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/CollisionVariableDrawer.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/CollisionVariableDrawer.cs new file mode 100644 index 00000000..0e0cfa11 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/CollisionVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable property drawer of type `UnityEngine.Collision`. Inherits from `AtomDrawer<CollisionVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionVariable))] + public class CollisionVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/CollisionVariableDrawer.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/CollisionVariableDrawer.cs.meta new file mode 100644 index 00000000..778bf0a3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomDrawers/Variables/CollisionVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f60ca4b32bec61247bafb93a45f6d4ad +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors.meta new file mode 100644 index 00000000..d8506d99 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d1add1952f6e68e4893031a488600005 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events.meta new file mode 100644 index 00000000..dd277c57 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a616138a5fba7c54a88bc5dd995b5d97 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderEventEditor.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderEventEditor.cs new file mode 100644 index 00000000..6f9ecb99 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collider`. Inherits from `AtomEventEditor<UnityEngine.Collider, ColliderEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(ColliderEvent))] + public sealed class ColliderEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderEventEditor.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderEventEditor.cs.meta new file mode 100644 index 00000000..1f77816d --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4351d1107c80a6e43a18fbc8fc67b99f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderPairEventEditor.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderPairEventEditor.cs new file mode 100644 index 00000000..1315b686 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `ColliderPair`. Inherits from `AtomEventEditor<ColliderPair, ColliderPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(ColliderPairEvent))] + public sealed class ColliderPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderPairEventEditor.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderPairEventEditor.cs.meta new file mode 100644 index 00000000..b31a3c09 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/ColliderPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 683d6fe3c8691784f807afe5ffaee0e8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionEventEditor.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionEventEditor.cs new file mode 100644 index 00000000..0d83af3b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collision`. Inherits from `AtomEventEditor<UnityEngine.Collision, CollisionEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(CollisionEvent))] + public sealed class CollisionEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionEventEditor.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionEventEditor.cs.meta new file mode 100644 index 00000000..4c1e546a --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9fea8d173c8ab53439802a30ea74ca88 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionPairEventEditor.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionPairEventEditor.cs new file mode 100644 index 00000000..b6647a73 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `CollisionPair`. Inherits from `AtomEventEditor<CollisionPair, CollisionPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(CollisionPairEvent))] + public sealed class CollisionPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionPairEventEditor.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionPairEventEditor.cs.meta new file mode 100644 index 00000000..5da30e2b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Events/CollisionPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2187dd4fcfbeb5443b992ce58eaa940e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables.meta new file mode 100644 index 00000000..64839216 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f20d8203511bcaf4084198738a8ebfe8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/ColliderVariableEditor.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/ColliderVariableEditor.cs new file mode 100644 index 00000000..4eabaed3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/ColliderVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable Inspector of type `UnityEngine.Collider`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(ColliderVariable))] + public sealed class ColliderVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/ColliderVariableEditor.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/ColliderVariableEditor.cs.meta new file mode 100644 index 00000000..85722a0d --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/ColliderVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7ea2fb35e9cea2d4793c1497496f1323 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/CollisionVariableEditor.cs b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/CollisionVariableEditor.cs new file mode 100644 index 00000000..b68a70b9 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/CollisionVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable Inspector of type `UnityEngine.Collision`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(CollisionVariable))] + public sealed class CollisionVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/CollisionVariableEditor.cs.meta b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/CollisionVariableEditor.cs.meta new file mode 100644 index 00000000..dc274777 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/AtomEditors/Variables/CollisionVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 38cdebeba9ec7434684434538752968f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor.asmdef b/Packages/BaseAtoms/Physics/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor.asmdef new file mode 100644 index 00000000..71a0afa3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor.asmdef @@ -0,0 +1,28 @@ +{ + "name": "UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor", + "rootNamespace": "", + "references": [ + "GUID:87264ae76e36244ae9adf5b5fbf7ca19", + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:451fcf7f130c17a45a6ee22b28b17186" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics", + "expression": "0", + "define": "UNITY_PHYSICS" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor.asmdef.meta b/Packages/BaseAtoms/Physics/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor.asmdef.meta new file mode 100644 index 00000000..ca8ce3e3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 360bb16f78a4ba44f99cf2934f380171 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers.meta b/Packages/BaseAtoms/Physics/Generated/EventInstancers.meta new file mode 100644 index 00000000..7af229fa --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b5a641aa095abb64a9001bd6cc56b1d3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderEventInstancer.cs b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderEventInstancer.cs new file mode 100644 index 00000000..e1567d4b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `UnityEngine.Collider`. Inherits from `AtomEventInstancer<UnityEngine.Collider, ColliderEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collider Event Instancer")] + public class ColliderEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderEventInstancer.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderEventInstancer.cs.meta new file mode 100644 index 00000000..e2a61300 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1d12ae6acac86b446a7c2ea17b02f66b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderPairEventInstancer.cs b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderPairEventInstancer.cs new file mode 100644 index 00000000..1352a271 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderPairEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `ColliderPair`. Inherits from `AtomEventInstancer<ColliderPair, ColliderPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/ColliderPair Event Instancer")] + public class ColliderPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderPairEventInstancer.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderPairEventInstancer.cs.meta new file mode 100644 index 00000000..8ad6cea8 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/ColliderPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9ef5496f5e3e3314091bd2f44d8905de +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionEventInstancer.cs b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionEventInstancer.cs new file mode 100644 index 00000000..475f1f4b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `UnityEngine.Collision`. Inherits from `AtomEventInstancer<UnityEngine.Collision, CollisionEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collision Event Instancer")] + public class CollisionEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionEventInstancer.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionEventInstancer.cs.meta new file mode 100644 index 00000000..e0a7e6bb --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4cc4db3fb50b2f942b31d8b95ea6bc20 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionPairEventInstancer.cs b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionPairEventInstancer.cs new file mode 100644 index 00000000..34cbf68b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionPairEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `CollisionPair`. Inherits from `AtomEventInstancer<CollisionPair, CollisionPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/CollisionPair Event Instancer")] + public class CollisionPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionPairEventInstancer.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionPairEventInstancer.cs.meta new file mode 100644 index 00000000..f9c45cc3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventInstancers/CollisionPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1b288c21b474e3642a3f3bc18d1c26a0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners.meta b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners.meta new file mode 100644 index 00000000..d0d3d8c2 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 19b940cfd34c22246ae55cebaf3ef3af +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderEventReferenceListener.cs b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderEventReferenceListener.cs new file mode 100644 index 00000000..c86d3f4e --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `UnityEngine.Collider`. Inherits from `AtomEventReferenceListener<UnityEngine.Collider, ColliderEvent, ColliderEventReference, ColliderUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collider Event Reference Listener")] + public sealed class ColliderEventReferenceListener : AtomEventReferenceListener< + UnityEngine.Collider, + ColliderEvent, + ColliderEventReference, + ColliderUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderEventReferenceListener.cs.meta new file mode 100644 index 00000000..37366717 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 15fda5c8b8fb4874e9126c6c677a30d3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderPairEventReferenceListener.cs b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderPairEventReferenceListener.cs new file mode 100644 index 00000000..99a406a0 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderPairEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `ColliderPair`. Inherits from `AtomEventReferenceListener<ColliderPair, ColliderPairEvent, ColliderPairEventReference, ColliderPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/ColliderPair Event Reference Listener")] + public sealed class ColliderPairEventReferenceListener : AtomEventReferenceListener< + ColliderPair, + ColliderPairEvent, + ColliderPairEventReference, + ColliderPairUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderPairEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..2b526a25 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/ColliderPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4307e04a2ff95d24e95cef4f9e47bf98 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionEventReferenceListener.cs b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionEventReferenceListener.cs new file mode 100644 index 00000000..3831247e --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `UnityEngine.Collision`. Inherits from `AtomEventReferenceListener<UnityEngine.Collision, CollisionEvent, CollisionEventReference, CollisionUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collision Event Reference Listener")] + public sealed class CollisionEventReferenceListener : AtomEventReferenceListener< + UnityEngine.Collision, + CollisionEvent, + CollisionEventReference, + CollisionUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionEventReferenceListener.cs.meta new file mode 100644 index 00000000..63ada1d7 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 25e646c778c5d7d4ebc54b8cd28a895c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionPairEventReferenceListener.cs b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionPairEventReferenceListener.cs new file mode 100644 index 00000000..aaab3d9b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionPairEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `CollisionPair`. Inherits from `AtomEventReferenceListener<CollisionPair, CollisionPairEvent, CollisionPairEventReference, CollisionPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/CollisionPair Event Reference Listener")] + public sealed class CollisionPairEventReferenceListener : AtomEventReferenceListener< + CollisionPair, + CollisionPairEvent, + CollisionPairEventReference, + CollisionPairUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionPairEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..c60bd71c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferenceListeners/CollisionPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a845d82b3f013d0429a5e90592769a84 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences.meta b/Packages/BaseAtoms/Physics/Generated/EventReferences.meta new file mode 100644 index 00000000..53599219 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 84a6083ec38a4714081138e2ebf608f8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderEventReference.cs b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderEventReference.cs new file mode 100644 index 00000000..390cc6cc --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `UnityEngine.Collider`. Inherits from `AtomEventReference<UnityEngine.Collider, ColliderVariable, ColliderEvent, ColliderVariableInstancer, ColliderEventInstancer>`. + /// + [Serializable] + public sealed class ColliderEventReference : AtomEventReference< + UnityEngine.Collider, + ColliderVariable, + ColliderEvent, + ColliderVariableInstancer, + ColliderEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderEventReference.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderEventReference.cs.meta new file mode 100644 index 00000000..09898aab --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8d39a717b09ed3b4e8eb6c572d42f0b8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderPairEventReference.cs b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderPairEventReference.cs new file mode 100644 index 00000000..4176930f --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `ColliderPair`. Inherits from `AtomEventReference<ColliderPair, ColliderVariable, ColliderPairEvent, ColliderVariableInstancer, ColliderPairEventInstancer>`. + /// + [Serializable] + public sealed class ColliderPairEventReference : AtomEventReference< + ColliderPair, + ColliderVariable, + ColliderPairEvent, + ColliderVariableInstancer, + ColliderPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderPairEventReference.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderPairEventReference.cs.meta new file mode 100644 index 00000000..8fa8040a --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/ColliderPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bc842575fb35a7f45aeef1a995b6d23a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionEventReference.cs b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionEventReference.cs new file mode 100644 index 00000000..09047962 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `UnityEngine.Collision`. Inherits from `AtomEventReference<UnityEngine.Collision, CollisionVariable, CollisionEvent, CollisionVariableInstancer, CollisionEventInstancer>`. + /// + [Serializable] + public sealed class CollisionEventReference : AtomEventReference< + UnityEngine.Collision, + CollisionVariable, + CollisionEvent, + CollisionVariableInstancer, + CollisionEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionEventReference.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionEventReference.cs.meta new file mode 100644 index 00000000..75379ae9 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ca9d6137463887a4b86bf6ec4afb41d1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionPairEventReference.cs b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionPairEventReference.cs new file mode 100644 index 00000000..71eda878 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `CollisionPair`. Inherits from `AtomEventReference<CollisionPair, CollisionVariable, CollisionPairEvent, CollisionVariableInstancer, CollisionPairEventInstancer>`. + /// + [Serializable] + public sealed class CollisionPairEventReference : AtomEventReference< + CollisionPair, + CollisionVariable, + CollisionPairEvent, + CollisionVariableInstancer, + CollisionPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionPairEventReference.cs.meta b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionPairEventReference.cs.meta new file mode 100644 index 00000000..96a83744 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/EventReferences/CollisionPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e2ac6c48ced223d488ee9369d05d9db3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Events.meta b/Packages/BaseAtoms/Physics/Generated/Events.meta new file mode 100644 index 00000000..da78bed5 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 272202b85ec48b84680b68dcc395b24a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Events/ColliderEvent.cs b/Packages/BaseAtoms/Physics/Generated/Events/ColliderEvent.cs new file mode 100644 index 00000000..a56789d4 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/ColliderEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `UnityEngine.Collider`. Inherits from `AtomEvent<UnityEngine.Collider>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collider", fileName = "ColliderEvent")] + public sealed class ColliderEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Events/ColliderEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/Events/ColliderEvent.cs.meta new file mode 100644 index 00000000..ff496d90 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/ColliderEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 512ffe59377df3e45b9b9a7930d639b2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Events/ColliderPairEvent.cs b/Packages/BaseAtoms/Physics/Generated/Events/ColliderPairEvent.cs new file mode 100644 index 00000000..083e2c4d --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/ColliderPairEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `ColliderPair`. Inherits from `AtomEvent<ColliderPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/ColliderPair", fileName = "ColliderPairEvent")] + public sealed class ColliderPairEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Events/ColliderPairEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/Events/ColliderPairEvent.cs.meta new file mode 100644 index 00000000..e071375c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/ColliderPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4345dc8d132e32849b1b0dda6202f26a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Events/CollisionEvent.cs b/Packages/BaseAtoms/Physics/Generated/Events/CollisionEvent.cs new file mode 100644 index 00000000..c6b3c63c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/CollisionEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `UnityEngine.Collision`. Inherits from `AtomEvent<UnityEngine.Collision>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collision", fileName = "CollisionEvent")] + public sealed class CollisionEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Events/CollisionEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/Events/CollisionEvent.cs.meta new file mode 100644 index 00000000..ab57447a --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/CollisionEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f9163022693fe0b40ad420ca807c303c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Events/CollisionPairEvent.cs b/Packages/BaseAtoms/Physics/Generated/Events/CollisionPairEvent.cs new file mode 100644 index 00000000..c4970718 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/CollisionPairEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `CollisionPair`. Inherits from `AtomEvent<CollisionPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/CollisionPair", fileName = "CollisionPairEvent")] + public sealed class CollisionPairEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Events/CollisionPairEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/Events/CollisionPairEvent.cs.meta new file mode 100644 index 00000000..ed356a06 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Events/CollisionPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7dd0ee8ac9560a14cad6bb18a0001cc1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Functions.meta b/Packages/BaseAtoms/Physics/Generated/Functions.meta new file mode 100644 index 00000000..4b319514 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Functions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b29579dd9bd28b74896e34f767ee6320 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Functions/ColliderColliderFunction.cs b/Packages/BaseAtoms/Physics/Generated/Functions/ColliderColliderFunction.cs new file mode 100644 index 00000000..ef2393ad --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Functions/ColliderColliderFunction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Function x 2 of type `UnityEngine.Collider`. Inherits from `AtomFunction<UnityEngine.Collider, UnityEngine.Collider>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class ColliderColliderFunction : AtomFunction { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Functions/ColliderColliderFunction.cs.meta b/Packages/BaseAtoms/Physics/Generated/Functions/ColliderColliderFunction.cs.meta new file mode 100644 index 00000000..3d2461ca --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Functions/ColliderColliderFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4ddcf35169e722f47b4f7e78d2a66b57 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Functions/CollisionCollisionFunction.cs b/Packages/BaseAtoms/Physics/Generated/Functions/CollisionCollisionFunction.cs new file mode 100644 index 00000000..b1b32667 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Functions/CollisionCollisionFunction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Function x 2 of type `UnityEngine.Collision`. Inherits from `AtomFunction<UnityEngine.Collision, UnityEngine.Collision>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class CollisionCollisionFunction : AtomFunction { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Functions/CollisionCollisionFunction.cs.meta b/Packages/BaseAtoms/Physics/Generated/Functions/CollisionCollisionFunction.cs.meta new file mode 100644 index 00000000..4d586125 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Functions/CollisionCollisionFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8497003f0822de346b0bf346232404f6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Pairs.meta b/Packages/BaseAtoms/Physics/Generated/Pairs.meta new file mode 100644 index 00000000..ae605c9d --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Pairs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d04f81b7599c7b444bc1afa14f5a4e9b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Pairs/ColliderPair.cs b/Packages/BaseAtoms/Physics/Generated/Pairs/ColliderPair.cs new file mode 100644 index 00000000..74a3daf8 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Pairs/ColliderPair.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// IPair of type `<UnityEngine.Collider>`. Inherits from `IPair<UnityEngine.Collider>`. + /// + [Serializable] + public struct ColliderPair : IPair + { + public UnityEngine.Collider Item1 { get => _item1; set => _item1 = value; } + public UnityEngine.Collider Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private UnityEngine.Collider _item1; + [SerializeField] + private UnityEngine.Collider _item2; + + public void Deconstruct(out UnityEngine.Collider item1, out UnityEngine.Collider item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics/Generated/Pairs/ColliderPair.cs.meta b/Packages/BaseAtoms/Physics/Generated/Pairs/ColliderPair.cs.meta new file mode 100644 index 00000000..e9fdbadb --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Pairs/ColliderPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9ba4f245999ea884aaddb9c7bc8f90a7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Pairs/CollisionPair.cs b/Packages/BaseAtoms/Physics/Generated/Pairs/CollisionPair.cs new file mode 100644 index 00000000..ee8bed03 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Pairs/CollisionPair.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// IPair of type `<UnityEngine.Collision>`. Inherits from `IPair<UnityEngine.Collision>`. + /// + [Serializable] + public struct CollisionPair : IPair + { + public UnityEngine.Collision Item1 { get => _item1; set => _item1 = value; } + public UnityEngine.Collision Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private UnityEngine.Collision _item1; + [SerializeField] + private UnityEngine.Collision _item2; + + public void Deconstruct(out UnityEngine.Collision item1, out UnityEngine.Collision item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics/Generated/Pairs/CollisionPair.cs.meta b/Packages/BaseAtoms/Physics/Generated/Pairs/CollisionPair.cs.meta new file mode 100644 index 00000000..00dce4c6 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Pairs/CollisionPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b76dd823820527e4ba7e74704bbd04ca +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/References.meta b/Packages/BaseAtoms/Physics/Generated/References.meta new file mode 100644 index 00000000..8b562e64 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/References.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a1321484f8b37d246b45c0b886bb0222 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/References/ColliderReference.cs b/Packages/BaseAtoms/Physics/Generated/References/ColliderReference.cs new file mode 100644 index 00000000..5f7c000e --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/References/ColliderReference.cs @@ -0,0 +1,29 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Reference of type `UnityEngine.Collider`. Inherits from `AtomReference<UnityEngine.Collider, ColliderPair, ColliderConstant, ColliderVariable, ColliderEvent, ColliderPairEvent, ColliderColliderFunction, ColliderVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class ColliderReference : AtomReference< + UnityEngine.Collider, + ColliderPair, + ColliderConstant, + ColliderVariable, + ColliderEvent, + ColliderPairEvent, + ColliderColliderFunction, + ColliderVariableInstancer>, IEquatable + { + public ColliderReference() : base() { } + public ColliderReference(UnityEngine.Collider value) : base(value) { } + public bool Equals(ColliderReference other) { return base.Equals(other); } + protected override bool ValueEquals(UnityEngine.Collider other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/References/ColliderReference.cs.meta b/Packages/BaseAtoms/Physics/Generated/References/ColliderReference.cs.meta new file mode 100644 index 00000000..a3014543 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/References/ColliderReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 37a318ab6e859204c9ae92878b9787db +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/References/CollisionReference.cs b/Packages/BaseAtoms/Physics/Generated/References/CollisionReference.cs new file mode 100644 index 00000000..711270a4 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/References/CollisionReference.cs @@ -0,0 +1,29 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Reference of type `UnityEngine.Collision`. Inherits from `AtomReference<UnityEngine.Collision, CollisionPair, CollisionConstant, CollisionVariable, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction, CollisionVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class CollisionReference : AtomReference< + UnityEngine.Collision, + CollisionPair, + CollisionConstant, + CollisionVariable, + CollisionEvent, + CollisionPairEvent, + CollisionCollisionFunction, + CollisionVariableInstancer>, IEquatable + { + public CollisionReference() : base() { } + public CollisionReference(UnityEngine.Collision value) : base(value) { } + public bool Equals(CollisionReference other) { return base.Equals(other); } + protected override bool ValueEquals(UnityEngine.Collision other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/References/CollisionReference.cs.meta b/Packages/BaseAtoms/Physics/Generated/References/CollisionReference.cs.meta new file mode 100644 index 00000000..765cc43b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/References/CollisionReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 62e7df179999806429bd36b48fd37740 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection.meta b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection.meta new file mode 100644 index 00000000..e1ccecba --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cf1e4b9ee7732a147b98d5df65287829 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncColliderVariableInstancerToCollection.cs b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncColliderVariableInstancerToCollection.cs new file mode 100644 index 00000000..6fbddc18 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncColliderVariableInstancerToCollection.cs @@ -0,0 +1,12 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Adds Variable Instancer's Variable of type UnityEngine.Collider to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collider Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncColliderVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncColliderVariableInstancerToCollection.cs.meta b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncColliderVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..a8f21896 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncColliderVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 497d74b2eae4c694291513770c7b10d8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncCollisionVariableInstancerToCollection.cs b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncCollisionVariableInstancerToCollection.cs new file mode 100644 index 00000000..facc4e16 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncCollisionVariableInstancerToCollection.cs @@ -0,0 +1,12 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Adds Variable Instancer's Variable of type UnityEngine.Collision to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collision Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncCollisionVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncCollisionVariableInstancerToCollection.cs.meta b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncCollisionVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..659bd7b8 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/SyncVariableInstancerToCollection/SyncCollisionVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d3743e294148bf042997e2de7713c593 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents.meta b/Packages/BaseAtoms/Physics/Generated/UnityEvents.meta new file mode 100644 index 00000000..b6a5d576 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 099bd09c873f59f47b71fee3c18d8379 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderPairUnityEvent.cs b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderPairUnityEvent.cs new file mode 100644 index 00000000..b7f359da --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `ColliderPair`. Inherits from `UnityEvent<ColliderPair>`. + /// + [Serializable] + public sealed class ColliderPairUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderPairUnityEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderPairUnityEvent.cs.meta new file mode 100644 index 00000000..078c0e3b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bdfbc338e82127d47b6285272132dcaa +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderUnityEvent.cs b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderUnityEvent.cs new file mode 100644 index 00000000..98994052 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `UnityEngine.Collider`. Inherits from `UnityEvent<UnityEngine.Collider>`. + /// + [Serializable] + public sealed class ColliderUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderUnityEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderUnityEvent.cs.meta new file mode 100644 index 00000000..4c15be38 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/ColliderUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e2a77c2fc0d9b564a9ce28bec7abe3a6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionPairUnityEvent.cs b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionPairUnityEvent.cs new file mode 100644 index 00000000..62324aa8 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `CollisionPair`. Inherits from `UnityEvent<CollisionPair>`. + /// + [Serializable] + public sealed class CollisionPairUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionPairUnityEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionPairUnityEvent.cs.meta new file mode 100644 index 00000000..bbc4fae6 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2e5d27912fa6fbe4c87ba51253a38ab2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionUnityEvent.cs b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionUnityEvent.cs new file mode 100644 index 00000000..0d1a5afc --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `UnityEngine.Collision`. Inherits from `UnityEvent<UnityEngine.Collision>`. + /// + [Serializable] + public sealed class CollisionUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionUnityEvent.cs.meta b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionUnityEvent.cs.meta new file mode 100644 index 00000000..9774ef98 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/UnityEvents/CollisionUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9d4089c7a7614664196aad2296a29df6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/ValueLists.meta b/Packages/BaseAtoms/Physics/Generated/ValueLists.meta new file mode 100644 index 00000000..ecdd5c85 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3c23e9c118447fe408e250fdfd3a2dec +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/ValueLists/ColliderValueList.cs b/Packages/BaseAtoms/Physics/Generated/ValueLists/ColliderValueList.cs new file mode 100644 index 00000000..ff404774 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/ValueLists/ColliderValueList.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Value List of type `UnityEngine.Collider`. Inherits from `AtomValueList<UnityEngine.Collider, ColliderEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/Collider", fileName = "ColliderValueList")] + public sealed class ColliderValueList : AtomValueList { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/ValueLists/ColliderValueList.cs.meta b/Packages/BaseAtoms/Physics/Generated/ValueLists/ColliderValueList.cs.meta new file mode 100644 index 00000000..1950dd07 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/ValueLists/ColliderValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 41b9076ae931b0348a7c8865937ba29f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/ValueLists/CollisionValueList.cs b/Packages/BaseAtoms/Physics/Generated/ValueLists/CollisionValueList.cs new file mode 100644 index 00000000..5666d1e1 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/ValueLists/CollisionValueList.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Value List of type `UnityEngine.Collision`. Inherits from `AtomValueList<UnityEngine.Collision, CollisionEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/Collision", fileName = "CollisionValueList")] + public sealed class CollisionValueList : AtomValueList { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/ValueLists/CollisionValueList.cs.meta b/Packages/BaseAtoms/Physics/Generated/ValueLists/CollisionValueList.cs.meta new file mode 100644 index 00000000..95c7af1c --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/ValueLists/CollisionValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ae96cbfe23b435346b9c35020dc006db +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/VariableInstancers.meta b/Packages/BaseAtoms/Physics/Generated/VariableInstancers.meta new file mode 100644 index 00000000..1c8e2bfe --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/VariableInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 830ff7ad77e708a4fb8be04890cc3f2c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/VariableInstancers/ColliderVariableInstancer.cs b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/ColliderVariableInstancer.cs new file mode 100644 index 00000000..00cae4fd --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/ColliderVariableInstancer.cs @@ -0,0 +1,19 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable Instancer of type `UnityEngine.Collider`. Inherits from `AtomVariableInstancer<ColliderVariable, ColliderPair, UnityEngine.Collider, ColliderEvent, ColliderPairEvent, ColliderColliderFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/Collider Variable Instancer")] + public class ColliderVariableInstancer : AtomVariableInstancer< + ColliderVariable, + ColliderPair, + UnityEngine.Collider, + ColliderEvent, + ColliderPairEvent, + ColliderColliderFunction> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/VariableInstancers/ColliderVariableInstancer.cs.meta b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/ColliderVariableInstancer.cs.meta new file mode 100644 index 00000000..d85dd504 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/ColliderVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f1b61dafecb69f041bd37fe1c37cb33c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/VariableInstancers/CollisionVariableInstancer.cs b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/CollisionVariableInstancer.cs new file mode 100644 index 00000000..d7ee9eb7 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/CollisionVariableInstancer.cs @@ -0,0 +1,19 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable Instancer of type `UnityEngine.Collision`. Inherits from `AtomVariableInstancer<CollisionVariable, CollisionPair, UnityEngine.Collision, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/Collision Variable Instancer")] + public class CollisionVariableInstancer : AtomVariableInstancer< + CollisionVariable, + CollisionPair, + UnityEngine.Collision, + CollisionEvent, + CollisionPairEvent, + CollisionCollisionFunction> + { } +} diff --git a/Packages/BaseAtoms/Physics/Generated/VariableInstancers/CollisionVariableInstancer.cs.meta b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/CollisionVariableInstancer.cs.meta new file mode 100644 index 00000000..8e9d2c25 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/VariableInstancers/CollisionVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7ca52325b9a61a844a83f78bcf8b46a4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Variables.meta b/Packages/BaseAtoms/Physics/Generated/Variables.meta new file mode 100644 index 00000000..0f75efc3 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 59b4e80f5ec97f74c8c30617266eecef +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Variables/ColliderVariable.cs b/Packages/BaseAtoms/Physics/Generated/Variables/ColliderVariable.cs new file mode 100644 index 00000000..753e502b --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Variables/ColliderVariable.cs @@ -0,0 +1,18 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable of type `UnityEngine.Collider`. Inherits from `AtomVariable<UnityEngine.Collider, ColliderPair, ColliderEvent, ColliderPairEvent, ColliderColliderFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collider", fileName = "ColliderVariable")] + public sealed class ColliderVariable : AtomVariable + { + protected override bool ValueEquals(UnityEngine.Collider other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Variables/ColliderVariable.cs.meta b/Packages/BaseAtoms/Physics/Generated/Variables/ColliderVariable.cs.meta new file mode 100644 index 00000000..030936cc --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Variables/ColliderVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 071f967de3cac0041b9aa01431f17300 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/Generated/Variables/CollisionVariable.cs b/Packages/BaseAtoms/Physics/Generated/Variables/CollisionVariable.cs new file mode 100644 index 00000000..9c699e3e --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Variables/CollisionVariable.cs @@ -0,0 +1,18 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable of type `UnityEngine.Collision`. Inherits from `AtomVariable<UnityEngine.Collision, CollisionPair, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collision", fileName = "CollisionVariable")] + public sealed class CollisionVariable : AtomVariable + { + protected override bool ValueEquals(UnityEngine.Collision other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics/Generated/Variables/CollisionVariable.cs.meta b/Packages/BaseAtoms/Physics/Generated/Variables/CollisionVariable.cs.meta new file mode 100644 index 00000000..47906dd7 --- /dev/null +++ b/Packages/BaseAtoms/Physics/Generated/Variables/CollisionVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dbc4deed36afec04595aa09f672b4a0e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics/UnityAtoms.UnityAtomsBaseAtoms.Physics.asmdef b/Packages/BaseAtoms/Physics/UnityAtoms.UnityAtomsBaseAtoms.Physics.asmdef new file mode 100644 index 00000000..705c1335 --- /dev/null +++ b/Packages/BaseAtoms/Physics/UnityAtoms.UnityAtomsBaseAtoms.Physics.asmdef @@ -0,0 +1,25 @@ +{ + "name": "UnityAtoms.UnityAtomsBaseAtoms.Physics", + "rootNamespace": "", + "references": [ + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:29492541a59d04a81b47a7f225e8a22d" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics", + "expression": "0.0.0", + "define": "UNITY_PHYSICS" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics/UnityAtoms.UnityAtomsBaseAtoms.Physics.asmdef.meta b/Packages/BaseAtoms/Physics/UnityAtoms.UnityAtomsBaseAtoms.Physics.asmdef.meta new file mode 100644 index 00000000..3214f811 --- /dev/null +++ b/Packages/BaseAtoms/Physics/UnityAtoms.UnityAtomsBaseAtoms.Physics.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 451fcf7f130c17a45a6ee22b28b17186 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Collider2DGen.asset b/Packages/BaseAtoms/Physics2D/Collider2DGen.asset new file mode 100644 index 00000000..2ad1db74 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Collider2DGen.asset @@ -0,0 +1,18 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 734fbfb568154d32a89d792102f0c779, type: 3} + m_Name: Collider2DGen + m_EditorClassIdentifier: + FullQualifiedName: UnityEngine.Collider2D, UnityEngine.Physics2DModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + GenerationOptions: 4194303 + Scripts: [] diff --git a/Packages/BaseAtoms/Physics2D/Collider2DGen.asset.meta b/Packages/BaseAtoms/Physics2D/Collider2DGen.asset.meta new file mode 100644 index 00000000..962658e7 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Collider2DGen.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0c4e79654a308a8499881e8b724ff4f3 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Collision2DGen.asset b/Packages/BaseAtoms/Physics2D/Collision2DGen.asset new file mode 100644 index 00000000..e23a6b7b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Collision2DGen.asset @@ -0,0 +1,18 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 734fbfb568154d32a89d792102f0c779, type: 3} + m_Name: Collision2DGen + m_EditorClassIdentifier: + FullQualifiedName: UnityEngine.Collision2D, UnityEngine.Physics2DModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null + GenerationOptions: 4194303 + Scripts: [] diff --git a/Packages/BaseAtoms/Physics2D/Collision2DGen.asset.meta b/Packages/BaseAtoms/Physics2D/Collision2DGen.asset.meta new file mode 100644 index 00000000..bc7b1ad2 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Collision2DGen.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c35c5845621bf4043bb7b9db1e0a8772 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated.meta b/Packages/BaseAtoms/Physics2D/Generated.meta new file mode 100644 index 00000000..85101d50 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4abb9b2d9110bfb49aade14b99268de6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions.meta new file mode 100644 index 00000000..151f1a1a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: feebf2fd0a0eb924d8825a75bf672a7c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DAction.cs b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DAction.cs new file mode 100644 index 00000000..b67516c2 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `UnityEngine.Collider2D`. Inherits from `AtomAction<UnityEngine.Collider2D>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collider2DAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DAction.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DAction.cs.meta new file mode 100644 index 00000000..ca2388f5 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2748c91d97a76fb40a81b7a183af6673 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DPairAction.cs b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DPairAction.cs new file mode 100644 index 00000000..bcd2806b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DPairAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `Collider2DPair`. Inherits from `AtomAction<Collider2DPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collider2DPairAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DPairAction.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DPairAction.cs.meta new file mode 100644 index 00000000..1a589714 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collider2DPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 805841279f6b694448fac8faa586f880 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DAction.cs b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DAction.cs new file mode 100644 index 00000000..efd8326a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `UnityEngine.Collision2D`. Inherits from `AtomAction<UnityEngine.Collision2D>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collision2DAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DAction.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DAction.cs.meta new file mode 100644 index 00000000..609e87f7 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 406f9b05adf56e24c81ad68dc7490a01 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DPairAction.cs b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DPairAction.cs new file mode 100644 index 00000000..172dffbc --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DPairAction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Action of type `Collision2DPair`. Inherits from `AtomAction<Collision2DPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collision2DPairAction : AtomAction { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DPairAction.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DPairAction.cs.meta new file mode 100644 index 00000000..cb346665 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/Collision2DPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d5f6c73c0506229458d41ea47ef9b0ac +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue.meta new file mode 100644 index 00000000..8b8e87ba --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0629003840381334a9f7c2d0b82383d9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollider2DVariableValue.cs b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollider2DVariableValue.cs new file mode 100644 index 00000000..7b25aff0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollider2DVariableValue.cs @@ -0,0 +1,22 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Set variable value Action of type `UnityEngine.Collider2D`. Inherits from `SetVariableValue<UnityEngine.Collider2D, Collider2DPair, Collider2DVariable, Collider2DConstant, Collider2DReference, Collider2DEvent, Collider2DPairEvent, Collider2DVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/Collider2D", fileName = "SetCollider2DVariableValue")] + public sealed class SetCollider2DVariableValue : SetVariableValue< + UnityEngine.Collider2D, + Collider2DPair, + Collider2DVariable, + Collider2DConstant, + Collider2DReference, + Collider2DEvent, + Collider2DPairEvent, + Collider2DCollider2DFunction, + Collider2DVariableInstancer> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollider2DVariableValue.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollider2DVariableValue.cs.meta new file mode 100644 index 00000000..3a3ac02b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollider2DVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5d64addd904cf954396c49e81febc6e8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollision2DVariableValue.cs b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollision2DVariableValue.cs new file mode 100644 index 00000000..f3d9f904 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollision2DVariableValue.cs @@ -0,0 +1,22 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Set variable value Action of type `UnityEngine.Collision2D`. Inherits from `SetVariableValue<UnityEngine.Collision2D, Collision2DPair, Collision2DVariable, Collision2DConstant, Collision2DReference, Collision2DEvent, Collision2DPairEvent, Collision2DVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/Collision2D", fileName = "SetCollision2DVariableValue")] + public sealed class SetCollision2DVariableValue : SetVariableValue< + UnityEngine.Collision2D, + Collision2DPair, + Collision2DVariable, + Collision2DConstant, + Collision2DReference, + Collision2DEvent, + Collision2DPairEvent, + Collision2DCollision2DFunction, + Collision2DVariableInstancer> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollision2DVariableValue.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollision2DVariableValue.cs.meta new file mode 100644 index 00000000..1a6845d5 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Actions/SetVariableValue/SetCollision2DVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fd158a8272899ae499f34bce98a12775 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Conditions.meta b/Packages/BaseAtoms/Physics2D/Generated/Conditions.meta new file mode 100644 index 00000000..0a7d893c --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Conditions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 813a42eea24a75c459a64827d4a377e8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collider2DCondition.cs b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collider2DCondition.cs new file mode 100644 index 00000000..8364e15c --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collider2DCondition.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Condition of type `UnityEngine.Collider2D`. Inherits from `AtomCondition<UnityEngine.Collider2D>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class Collider2DCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collider2DCondition.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collider2DCondition.cs.meta new file mode 100644 index 00000000..6d97f29d --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collider2DCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5b1e29bcbaffbed4085e03cc6e2a6952 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collision2DCondition.cs b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collision2DCondition.cs new file mode 100644 index 00000000..19c395a9 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collision2DCondition.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Condition of type `UnityEngine.Collision2D`. Inherits from `AtomCondition<UnityEngine.Collision2D>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class Collision2DCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collision2DCondition.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collision2DCondition.cs.meta new file mode 100644 index 00000000..f0ddb574 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Conditions/Collision2DCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b163a936f359bc540bea1cf404172684 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Constants.meta b/Packages/BaseAtoms/Physics2D/Generated/Constants.meta new file mode 100644 index 00000000..1e6afb0f --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f7fb0175a990ed14e98033982016d9fd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Constants/Collider2DConstant.cs b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collider2DConstant.cs new file mode 100644 index 00000000..1fb8876b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collider2DConstant.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Constant of type `UnityEngine.Collider2D`. Inherits from `AtomBaseVariable<UnityEngine.Collider2D>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/Collider2D", fileName = "Collider2DConstant")] + public sealed class Collider2DConstant : AtomBaseVariable { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Constants/Collider2DConstant.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collider2DConstant.cs.meta new file mode 100644 index 00000000..b6f5b2a6 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collider2DConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b0f9ff192f99de6479df0ba4214d8fd8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Constants/Collision2DConstant.cs b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collision2DConstant.cs new file mode 100644 index 00000000..92e562ce --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collision2DConstant.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Constant of type `UnityEngine.Collision2D`. Inherits from `AtomBaseVariable<UnityEngine.Collision2D>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/Collision2D", fileName = "Collision2DConstant")] + public sealed class Collision2DConstant : AtomBaseVariable { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Constants/Collision2DConstant.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collision2DConstant.cs.meta new file mode 100644 index 00000000..5c5dd9df --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Constants/Collision2DConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d3d92b027a5684e429c7c3972e6f73a5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor.meta new file mode 100644 index 00000000..75aebf83 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ec3e6a592993eae4aadd3f5c983d5b80 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers.meta new file mode 100644 index 00000000..235ed452 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b1d2400f8428ccd488c83fb14893a92a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants.meta new file mode 100644 index 00000000..1af46ae7 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6cc345f2f3f670e45a7fb5eb7378699b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collider2DConstantDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collider2DConstantDrawer.cs new file mode 100644 index 00000000..50611d64 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collider2DConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Constant property drawer of type `UnityEngine.Collider2D`. Inherits from `AtomDrawer<Collider2DConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DConstant))] + public class Collider2DConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collider2DConstantDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collider2DConstantDrawer.cs.meta new file mode 100644 index 00000000..d1613b74 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collider2DConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b2c02c6b974006048830663f35ef3dca +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collision2DConstantDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collision2DConstantDrawer.cs new file mode 100644 index 00000000..b383d312 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collision2DConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Constant property drawer of type `UnityEngine.Collision2D`. Inherits from `AtomDrawer<Collision2DConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DConstant))] + public class Collision2DConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collision2DConstantDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collision2DConstantDrawer.cs.meta new file mode 100644 index 00000000..179300e8 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Constants/Collision2DConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 524c2df45b6d9e34e956b79db6e7a3a9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events.meta new file mode 100644 index 00000000..a630086e --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 84ae8d4bec886fe448387b7e5420268e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DEventDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DEventDrawer.cs new file mode 100644 index 00000000..10901fca --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collider2D`. Inherits from `AtomDrawer<Collider2DEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DEvent))] + public class Collider2DEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DEventDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DEventDrawer.cs.meta new file mode 100644 index 00000000..e04a6a0a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7a75dc1a0690f3841bc2e6174f5827f3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DPairEventDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DPairEventDrawer.cs new file mode 100644 index 00000000..0ff8b5d3 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `Collider2DPair`. Inherits from `AtomDrawer<Collider2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DPairEvent))] + public class Collider2DPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DPairEventDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DPairEventDrawer.cs.meta new file mode 100644 index 00000000..2963836f --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collider2DPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: eb6647a64bc5dc147a8deee5c1ba6752 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DEventDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DEventDrawer.cs new file mode 100644 index 00000000..e8613889 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collision2D`. Inherits from `AtomDrawer<Collision2DEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DEvent))] + public class Collision2DEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DEventDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DEventDrawer.cs.meta new file mode 100644 index 00000000..a9ff315b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2d190de73f50f1d40a776b41ef840121 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DPairEventDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DPairEventDrawer.cs new file mode 100644 index 00000000..0b0c283b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `Collision2DPair`. Inherits from `AtomDrawer<Collision2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DPairEvent))] + public class Collision2DPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DPairEventDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DPairEventDrawer.cs.meta new file mode 100644 index 00000000..1b645319 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Events/Collision2DPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 92ef34c8d4e60ad4b8a014367a1b94b3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists.meta new file mode 100644 index 00000000..d766b418 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b86207609c05df84a8a1f692d78a34b3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collider2DValueListDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collider2DValueListDrawer.cs new file mode 100644 index 00000000..e453d0b0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collider2DValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Value List property drawer of type `UnityEngine.Collider2D`. Inherits from `AtomDrawer<Collider2DValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DValueList))] + public class Collider2DValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collider2DValueListDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collider2DValueListDrawer.cs.meta new file mode 100644 index 00000000..b9567897 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collider2DValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 996d1684534358345b21619fae0182b0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collision2DValueListDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collision2DValueListDrawer.cs new file mode 100644 index 00000000..e0fd9a8e --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collision2DValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Value List property drawer of type `UnityEngine.Collision2D`. Inherits from `AtomDrawer<Collision2DValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DValueList))] + public class Collision2DValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collision2DValueListDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collision2DValueListDrawer.cs.meta new file mode 100644 index 00000000..6bb32437 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/ValueLists/Collision2DValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a54dbeea31f8f7446af47e8ab645ecbb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables.meta new file mode 100644 index 00000000..bbb312c2 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d0a4d84d697b9d349890ddfb53db4016 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collider2DVariableDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collider2DVariableDrawer.cs new file mode 100644 index 00000000..ec25d364 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collider2DVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable property drawer of type `UnityEngine.Collider2D`. Inherits from `AtomDrawer<Collider2DVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DVariable))] + public class Collider2DVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collider2DVariableDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collider2DVariableDrawer.cs.meta new file mode 100644 index 00000000..eac7ba49 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collider2DVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e50e51de75af5c94c9e600e9953a875a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collision2DVariableDrawer.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collision2DVariableDrawer.cs new file mode 100644 index 00000000..7e99fc72 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collision2DVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable property drawer of type `UnityEngine.Collision2D`. Inherits from `AtomDrawer<Collision2DVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DVariable))] + public class Collision2DVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collision2DVariableDrawer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collision2DVariableDrawer.cs.meta new file mode 100644 index 00000000..047d7481 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomDrawers/Variables/Collision2DVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dc6277396c5fcb6459ffeb8a91264ebe +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors.meta new file mode 100644 index 00000000..21f25fb9 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 33d4ff5955248c24996b1566db7cd45e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events.meta new file mode 100644 index 00000000..bacc7ff3 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b953b6c29ecc5474bbaa385b7de82614 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DEventEditor.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DEventEditor.cs new file mode 100644 index 00000000..0ed04b6b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collider2D`. Inherits from `AtomEventEditor<UnityEngine.Collider2D, Collider2DEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collider2DEvent))] + public sealed class Collider2DEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DEventEditor.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DEventEditor.cs.meta new file mode 100644 index 00000000..c682524a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 302c6bb27c8fcad4b9eb5671155f1cc2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DPairEventEditor.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DPairEventEditor.cs new file mode 100644 index 00000000..3e56b7e3 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `Collider2DPair`. Inherits from `AtomEventEditor<Collider2DPair, Collider2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collider2DPairEvent))] + public sealed class Collider2DPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DPairEventEditor.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DPairEventEditor.cs.meta new file mode 100644 index 00000000..b1f07cb8 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collider2DPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a77853dd372ec164881cfe196638ed83 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DEventEditor.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DEventEditor.cs new file mode 100644 index 00000000..7d7be4a1 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `UnityEngine.Collision2D`. Inherits from `AtomEventEditor<UnityEngine.Collision2D, Collision2DEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collision2DEvent))] + public sealed class Collision2DEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DEventEditor.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DEventEditor.cs.meta new file mode 100644 index 00000000..f20dbdec --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4d949f676bf97bb498537c95640aa243 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DPairEventEditor.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DPairEventEditor.cs new file mode 100644 index 00000000..f8408e30 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Event property drawer of type `Collision2DPair`. Inherits from `AtomEventEditor<Collision2DPair, Collision2DPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collision2DPairEvent))] + public sealed class Collision2DPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DPairEventEditor.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DPairEventEditor.cs.meta new file mode 100644 index 00000000..eff21f7d --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Events/Collision2DPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f81a59384dfb0a24a9ea8ae059c1626f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables.meta new file mode 100644 index 00000000..cf4a8adc --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3e173a6eccf47ca40ae851ed01fecdfb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collider2DVariableEditor.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collider2DVariableEditor.cs new file mode 100644 index 00000000..64039a0c --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collider2DVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable Inspector of type `UnityEngine.Collider2D`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(Collider2DVariable))] + public sealed class Collider2DVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collider2DVariableEditor.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collider2DVariableEditor.cs.meta new file mode 100644 index 00000000..319d2311 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collider2DVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 265a4a9f5a8b6624e9d4cddbb2754d32 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collision2DVariableEditor.cs b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collision2DVariableEditor.cs new file mode 100644 index 00000000..3e2b0e58 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collision2DVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms.Editor +{ + /// + /// Variable Inspector of type `UnityEngine.Collision2D`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(Collision2DVariable))] + public sealed class Collision2DVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collision2DVariableEditor.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collision2DVariableEditor.cs.meta new file mode 100644 index 00000000..53200da0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/AtomEditors/Variables/Collision2DVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a83356c7f666c27489e8a42b0ad7b236 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor.asmdef b/Packages/BaseAtoms/Physics2D/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor.asmdef new file mode 100644 index 00000000..b4b2190f --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor.asmdef @@ -0,0 +1,28 @@ +{ + "name": "UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor", + "rootNamespace": "", + "references": [ + "GUID:87264ae76e36244ae9adf5b5fbf7ca19", + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:366baf501d38aa1438cb1f7561c5cf64" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS2D" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics2d", + "expression": "0", + "define": "UNITY_PHYSICS2D" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics2D/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor.asmdef.meta b/Packages/BaseAtoms/Physics2D/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor.asmdef.meta new file mode 100644 index 00000000..64d3e177 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Editor/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 534b4b5256681834f9f3282072bdadfb +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers.meta b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers.meta new file mode 100644 index 00000000..57ce1a27 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 21d9db738a29617419de23d3b75e8652 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DEventInstancer.cs b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DEventInstancer.cs new file mode 100644 index 00000000..c263d56b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `UnityEngine.Collider2D`. Inherits from `AtomEventInstancer<UnityEngine.Collider2D, Collider2DEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collider2D Event Instancer")] + public class Collider2DEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DEventInstancer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DEventInstancer.cs.meta new file mode 100644 index 00000000..d2db9571 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a284be0a67254844394532d9d6d70b79 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DPairEventInstancer.cs b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DPairEventInstancer.cs new file mode 100644 index 00000000..ed068e53 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DPairEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `Collider2DPair`. Inherits from `AtomEventInstancer<Collider2DPair, Collider2DPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collider2DPair Event Instancer")] + public class Collider2DPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DPairEventInstancer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DPairEventInstancer.cs.meta new file mode 100644 index 00000000..9887fd32 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collider2DPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 531040029b0f86a4a8fd3663341a88a5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DEventInstancer.cs b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DEventInstancer.cs new file mode 100644 index 00000000..ac568b05 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `UnityEngine.Collision2D`. Inherits from `AtomEventInstancer<UnityEngine.Collision2D, Collision2DEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collision2D Event Instancer")] + public class Collision2DEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DEventInstancer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DEventInstancer.cs.meta new file mode 100644 index 00000000..4401b97b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c5e5b06f5d321ee46a0e4b1a09fce369 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DPairEventInstancer.cs b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DPairEventInstancer.cs new file mode 100644 index 00000000..00557e9c --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DPairEventInstancer.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Instancer of type `Collision2DPair`. Inherits from `AtomEventInstancer<Collision2DPair, Collision2DPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collision2DPair Event Instancer")] + public class Collision2DPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DPairEventInstancer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DPairEventInstancer.cs.meta new file mode 100644 index 00000000..52b28259 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventInstancers/Collision2DPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dafd2ca7ce8637e49824f49753e10500 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners.meta new file mode 100644 index 00000000..4f5f23d3 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0e04da6ebf76590428591510ca669f26 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DEventReferenceListener.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DEventReferenceListener.cs new file mode 100644 index 00000000..d4b3be02 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `UnityEngine.Collider2D`. Inherits from `AtomEventReferenceListener<UnityEngine.Collider2D, Collider2DEvent, Collider2DEventReference, Collider2DUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collider2D Event Reference Listener")] + public sealed class Collider2DEventReferenceListener : AtomEventReferenceListener< + UnityEngine.Collider2D, + Collider2DEvent, + Collider2DEventReference, + Collider2DUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DEventReferenceListener.cs.meta new file mode 100644 index 00000000..01a391f3 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c7e181302e9daf4448af072c620573a1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DPairEventReferenceListener.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DPairEventReferenceListener.cs new file mode 100644 index 00000000..fc49c7be --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DPairEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `Collider2DPair`. Inherits from `AtomEventReferenceListener<Collider2DPair, Collider2DPairEvent, Collider2DPairEventReference, Collider2DPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collider2DPair Event Reference Listener")] + public sealed class Collider2DPairEventReferenceListener : AtomEventReferenceListener< + Collider2DPair, + Collider2DPairEvent, + Collider2DPairEventReference, + Collider2DPairUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DPairEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..a0b16043 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collider2DPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fdbf8d53a9b16db4481c610bb7c16528 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DEventReferenceListener.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DEventReferenceListener.cs new file mode 100644 index 00000000..fa42f755 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `UnityEngine.Collision2D`. Inherits from `AtomEventReferenceListener<UnityEngine.Collision2D, Collision2DEvent, Collision2DEventReference, Collision2DUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collision2D Event Reference Listener")] + public sealed class Collision2DEventReferenceListener : AtomEventReferenceListener< + UnityEngine.Collision2D, + Collision2DEvent, + Collision2DEventReference, + Collision2DUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DEventReferenceListener.cs.meta new file mode 100644 index 00000000..b6c4f596 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6df953de4906c34409317874f9a7ce6c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DPairEventReferenceListener.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DPairEventReferenceListener.cs new file mode 100644 index 00000000..2bd9663e --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DPairEventReferenceListener.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference Listener of type `Collision2DPair`. Inherits from `AtomEventReferenceListener<Collision2DPair, Collision2DPairEvent, Collision2DPairEventReference, Collision2DPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collision2DPair Event Reference Listener")] + public sealed class Collision2DPairEventReferenceListener : AtomEventReferenceListener< + Collision2DPair, + Collision2DPairEvent, + Collision2DPairEventReference, + Collision2DPairUnityEvent> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DPairEventReferenceListener.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..e949d1e0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferenceListeners/Collision2DPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 14a2528b4c3b961459bbd9764ad25930 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferences.meta new file mode 100644 index 00000000..f94aec0b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a9c0385aa20d1ff48933aa9a2e838232 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DEventReference.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DEventReference.cs new file mode 100644 index 00000000..e7f3315e --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `UnityEngine.Collider2D`. Inherits from `AtomEventReference<UnityEngine.Collider2D, Collider2DVariable, Collider2DEvent, Collider2DVariableInstancer, Collider2DEventInstancer>`. + /// + [Serializable] + public sealed class Collider2DEventReference : AtomEventReference< + UnityEngine.Collider2D, + Collider2DVariable, + Collider2DEvent, + Collider2DVariableInstancer, + Collider2DEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DEventReference.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DEventReference.cs.meta new file mode 100644 index 00000000..57e4f3a5 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5b353eb7e60091047b8fc44c539e99f2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DPairEventReference.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DPairEventReference.cs new file mode 100644 index 00000000..59936c66 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `Collider2DPair`. Inherits from `AtomEventReference<Collider2DPair, Collider2DVariable, Collider2DPairEvent, Collider2DVariableInstancer, Collider2DPairEventInstancer>`. + /// + [Serializable] + public sealed class Collider2DPairEventReference : AtomEventReference< + Collider2DPair, + Collider2DVariable, + Collider2DPairEvent, + Collider2DVariableInstancer, + Collider2DPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DPairEventReference.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DPairEventReference.cs.meta new file mode 100644 index 00000000..576eb8e1 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collider2DPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8cb5be3c4a08afb42826ddbdc39771fa +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DEventReference.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DEventReference.cs new file mode 100644 index 00000000..617e3ee9 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `UnityEngine.Collision2D`. Inherits from `AtomEventReference<UnityEngine.Collision2D, Collision2DVariable, Collision2DEvent, Collision2DVariableInstancer, Collision2DEventInstancer>`. + /// + [Serializable] + public sealed class Collision2DEventReference : AtomEventReference< + UnityEngine.Collision2D, + Collision2DVariable, + Collision2DEvent, + Collision2DVariableInstancer, + Collision2DEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DEventReference.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DEventReference.cs.meta new file mode 100644 index 00000000..db1bb2c9 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0878ef5feb5021a48a8143175d74aaa6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DPairEventReference.cs b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DPairEventReference.cs new file mode 100644 index 00000000..6447e6ed --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event Reference of type `Collision2DPair`. Inherits from `AtomEventReference<Collision2DPair, Collision2DVariable, Collision2DPairEvent, Collision2DVariableInstancer, Collision2DPairEventInstancer>`. + /// + [Serializable] + public sealed class Collision2DPairEventReference : AtomEventReference< + Collision2DPair, + Collision2DVariable, + Collision2DPairEvent, + Collision2DVariableInstancer, + Collision2DPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DPairEventReference.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DPairEventReference.cs.meta new file mode 100644 index 00000000..6c9484ed --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/EventReferences/Collision2DPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c453298a49baf6e48a6147e42a7217e5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events.meta b/Packages/BaseAtoms/Physics2D/Generated/Events.meta new file mode 100644 index 00000000..0e594c3b --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9254aede288a0e14d94dfff0ec262bdb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DEvent.cs new file mode 100644 index 00000000..3ed8a8f0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `UnityEngine.Collider2D`. Inherits from `AtomEvent<UnityEngine.Collider2D>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collider2D", fileName = "Collider2DEvent")] + public sealed class Collider2DEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DEvent.cs.meta new file mode 100644 index 00000000..915f52e8 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c8deebae0f3a4de4a83233a2c647a151 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DPairEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DPairEvent.cs new file mode 100644 index 00000000..900d1858 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DPairEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `Collider2DPair`. Inherits from `AtomEvent<Collider2DPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collider2DPair", fileName = "Collider2DPairEvent")] + public sealed class Collider2DPairEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DPairEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DPairEvent.cs.meta new file mode 100644 index 00000000..15b80a7f --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collider2DPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5e1e970d02e1cbf4db838410c74adc37 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DEvent.cs new file mode 100644 index 00000000..e37ea668 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `UnityEngine.Collision2D`. Inherits from `AtomEvent<UnityEngine.Collision2D>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collision2D", fileName = "Collision2DEvent")] + public sealed class Collision2DEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DEvent.cs.meta new file mode 100644 index 00000000..848578fe --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6e3bd5af90e6eb24292a10182b202a65 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DPairEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DPairEvent.cs new file mode 100644 index 00000000..2964e330 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DPairEvent.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Event of type `Collision2DPair`. Inherits from `AtomEvent<Collision2DPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collision2DPair", fileName = "Collision2DPairEvent")] + public sealed class Collision2DPairEvent : AtomEvent + { + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DPairEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DPairEvent.cs.meta new file mode 100644 index 00000000..0dde11bb --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Events/Collision2DPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2af4ef7a0d08e9a40880d7588bfd9dec +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Functions.meta b/Packages/BaseAtoms/Physics2D/Generated/Functions.meta new file mode 100644 index 00000000..9f8a0c62 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Functions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 90fe5ade3b3985d45ba0f8320493f723 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Functions/Collider2DCollider2DFunction.cs b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collider2DCollider2DFunction.cs new file mode 100644 index 00000000..7ecccea7 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collider2DCollider2DFunction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Function x 2 of type `UnityEngine.Collider2D`. Inherits from `AtomFunction<UnityEngine.Collider2D, UnityEngine.Collider2D>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class Collider2DCollider2DFunction : AtomFunction { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Functions/Collider2DCollider2DFunction.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collider2DCollider2DFunction.cs.meta new file mode 100644 index 00000000..a6c49dfa --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collider2DCollider2DFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 03fd18b135123d941abd6cffd6d14177 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Functions/Collision2DCollision2DFunction.cs b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collision2DCollision2DFunction.cs new file mode 100644 index 00000000..98bfd7c4 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collision2DCollision2DFunction.cs @@ -0,0 +1,9 @@ +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// Function x 2 of type `UnityEngine.Collision2D`. Inherits from `AtomFunction<UnityEngine.Collision2D, UnityEngine.Collision2D>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class Collision2DCollision2DFunction : AtomFunction { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Functions/Collision2DCollision2DFunction.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collision2DCollision2DFunction.cs.meta new file mode 100644 index 00000000..53bb57fa --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Functions/Collision2DCollision2DFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dad968c4484111043bd2a7dccb9b11ce +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Pairs.meta b/Packages/BaseAtoms/Physics2D/Generated/Pairs.meta new file mode 100644 index 00000000..1a60d8ea --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Pairs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7470726f9fec4c042babdb1d881450fa +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collider2DPair.cs b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collider2DPair.cs new file mode 100644 index 00000000..88821379 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collider2DPair.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// IPair of type `<UnityEngine.Collider2D>`. Inherits from `IPair<UnityEngine.Collider2D>`. + /// + [Serializable] + public struct Collider2DPair : IPair + { + public UnityEngine.Collider2D Item1 { get => _item1; set => _item1 = value; } + public UnityEngine.Collider2D Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private UnityEngine.Collider2D _item1; + [SerializeField] + private UnityEngine.Collider2D _item2; + + public void Deconstruct(out UnityEngine.Collider2D item1, out UnityEngine.Collider2D item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collider2DPair.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collider2DPair.cs.meta new file mode 100644 index 00000000..acafff1d --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collider2DPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a92582b6e214e1547b224e29672875a2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collision2DPair.cs b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collision2DPair.cs new file mode 100644 index 00000000..f6a2d6d0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collision2DPair.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; +namespace UnityAtoms.BaseAtoms +{ + /// + /// IPair of type `<UnityEngine.Collision2D>`. Inherits from `IPair<UnityEngine.Collision2D>`. + /// + [Serializable] + public struct Collision2DPair : IPair + { + public UnityEngine.Collision2D Item1 { get => _item1; set => _item1 = value; } + public UnityEngine.Collision2D Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private UnityEngine.Collision2D _item1; + [SerializeField] + private UnityEngine.Collision2D _item2; + + public void Deconstruct(out UnityEngine.Collision2D item1, out UnityEngine.Collision2D item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collision2DPair.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collision2DPair.cs.meta new file mode 100644 index 00000000..4cee806d --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Pairs/Collision2DPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9ff5fd2e663153247a02d135d129ef63 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/References.meta b/Packages/BaseAtoms/Physics2D/Generated/References.meta new file mode 100644 index 00000000..9c7e86c1 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/References.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1e24790197f4257408e2bd40d1f2bcf0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/References/Collider2DReference.cs b/Packages/BaseAtoms/Physics2D/Generated/References/Collider2DReference.cs new file mode 100644 index 00000000..6a665ce0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/References/Collider2DReference.cs @@ -0,0 +1,29 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Reference of type `UnityEngine.Collider2D`. Inherits from `AtomReference<UnityEngine.Collider2D, Collider2DPair, Collider2DConstant, Collider2DVariable, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction, Collider2DVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class Collider2DReference : AtomReference< + UnityEngine.Collider2D, + Collider2DPair, + Collider2DConstant, + Collider2DVariable, + Collider2DEvent, + Collider2DPairEvent, + Collider2DCollider2DFunction, + Collider2DVariableInstancer>, IEquatable + { + public Collider2DReference() : base() { } + public Collider2DReference(UnityEngine.Collider2D value) : base(value) { } + public bool Equals(Collider2DReference other) { return base.Equals(other); } + protected override bool ValueEquals(UnityEngine.Collider2D other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/References/Collider2DReference.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/References/Collider2DReference.cs.meta new file mode 100644 index 00000000..5416f397 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/References/Collider2DReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c8f2c0c3e309f6e42be5117fe01db9cb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/References/Collision2DReference.cs b/Packages/BaseAtoms/Physics2D/Generated/References/Collision2DReference.cs new file mode 100644 index 00000000..173eeabc --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/References/Collision2DReference.cs @@ -0,0 +1,29 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Reference of type `UnityEngine.Collision2D`. Inherits from `AtomReference<UnityEngine.Collision2D, Collision2DPair, Collision2DConstant, Collision2DVariable, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction, Collision2DVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class Collision2DReference : AtomReference< + UnityEngine.Collision2D, + Collision2DPair, + Collision2DConstant, + Collision2DVariable, + Collision2DEvent, + Collision2DPairEvent, + Collision2DCollision2DFunction, + Collision2DVariableInstancer>, IEquatable + { + public Collision2DReference() : base() { } + public Collision2DReference(UnityEngine.Collision2D value) : base(value) { } + public bool Equals(Collision2DReference other) { return base.Equals(other); } + protected override bool ValueEquals(UnityEngine.Collision2D other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/References/Collision2DReference.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/References/Collision2DReference.cs.meta new file mode 100644 index 00000000..4781fb7a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/References/Collision2DReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e23aec8370af1d8468a7ea4d9fdfc146 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection.meta b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection.meta new file mode 100644 index 00000000..7884de8f --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 29b7829521a9c7c48bbe110cf1c2670b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollider2DVariableInstancerToCollection.cs b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollider2DVariableInstancerToCollection.cs new file mode 100644 index 00000000..ced3900f --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollider2DVariableInstancerToCollection.cs @@ -0,0 +1,12 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Adds Variable Instancer's Variable of type UnityEngine.Collider2D to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collider2D Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncCollider2DVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollider2DVariableInstancerToCollection.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollider2DVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..0b5250d0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollider2DVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b3d9a4303c7fbd94ca56d9ad3f85ebfe +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollision2DVariableInstancerToCollection.cs b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollision2DVariableInstancerToCollection.cs new file mode 100644 index 00000000..e1085f4e --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollision2DVariableInstancerToCollection.cs @@ -0,0 +1,12 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Adds Variable Instancer's Variable of type UnityEngine.Collision2D to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collision2D Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncCollision2DVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollision2DVariableInstancerToCollection.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollision2DVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..ce2f5363 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/SyncVariableInstancerToCollection/SyncCollision2DVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b96de1fb05b26464ba028bb27aa6a755 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents.meta b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents.meta new file mode 100644 index 00000000..b84b3c83 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9c6b10416a10fcd4580fdec2054667a1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DPairUnityEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DPairUnityEvent.cs new file mode 100644 index 00000000..9cef231d --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `Collider2DPair`. Inherits from `UnityEvent<Collider2DPair>`. + /// + [Serializable] + public sealed class Collider2DPairUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DPairUnityEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DPairUnityEvent.cs.meta new file mode 100644 index 00000000..6a5b3d73 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3ffea12894342044297f8abb2bee4d29 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DUnityEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DUnityEvent.cs new file mode 100644 index 00000000..8b08d26a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `UnityEngine.Collider2D`. Inherits from `UnityEvent<UnityEngine.Collider2D>`. + /// + [Serializable] + public sealed class Collider2DUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DUnityEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DUnityEvent.cs.meta new file mode 100644 index 00000000..5eb7bb06 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collider2DUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a3b8490d71f74e84d946bf8ad2e41dce +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DPairUnityEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DPairUnityEvent.cs new file mode 100644 index 00000000..644d88cc --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `Collision2DPair`. Inherits from `UnityEvent<Collision2DPair>`. + /// + [Serializable] + public sealed class Collision2DPairUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DPairUnityEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DPairUnityEvent.cs.meta new file mode 100644 index 00000000..9c0226c0 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bd04b28aaa72de848924cf69ad985dba +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DUnityEvent.cs b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DUnityEvent.cs new file mode 100644 index 00000000..e69ef25a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// None generic Unity Event of type `UnityEngine.Collision2D`. Inherits from `UnityEvent<UnityEngine.Collision2D>`. + /// + [Serializable] + public sealed class Collision2DUnityEvent : UnityEvent { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DUnityEvent.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DUnityEvent.cs.meta new file mode 100644 index 00000000..108c6c9a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/UnityEvents/Collision2DUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 46460dbefb988a44ba68ba40adc2360d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/ValueLists.meta b/Packages/BaseAtoms/Physics2D/Generated/ValueLists.meta new file mode 100644 index 00000000..3e772aa8 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 21a409bbbe3e4e44dadf177ddc815ef7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collider2DValueList.cs b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collider2DValueList.cs new file mode 100644 index 00000000..0f127b0e --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collider2DValueList.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Value List of type `UnityEngine.Collider2D`. Inherits from `AtomValueList<UnityEngine.Collider2D, Collider2DEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/Collider2D", fileName = "Collider2DValueList")] + public sealed class Collider2DValueList : AtomValueList { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collider2DValueList.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collider2DValueList.cs.meta new file mode 100644 index 00000000..c9ef92b7 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collider2DValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f5b41925645a7f6478e8a0ad8dd1e3f8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collision2DValueList.cs b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collision2DValueList.cs new file mode 100644 index 00000000..7b877a89 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collision2DValueList.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Value List of type `UnityEngine.Collision2D`. Inherits from `AtomValueList<UnityEngine.Collision2D, Collision2DEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/Collision2D", fileName = "Collision2DValueList")] + public sealed class Collision2DValueList : AtomValueList { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collision2DValueList.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collision2DValueList.cs.meta new file mode 100644 index 00000000..991dfa93 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/ValueLists/Collision2DValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 06fc06880eee01e4aa988b372aa91444 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers.meta b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers.meta new file mode 100644 index 00000000..3a035bd3 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 536bae254d6bb3d468eeb5b6abfdc92b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collider2DVariableInstancer.cs b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collider2DVariableInstancer.cs new file mode 100644 index 00000000..6d053a67 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collider2DVariableInstancer.cs @@ -0,0 +1,19 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable Instancer of type `UnityEngine.Collider2D`. Inherits from `AtomVariableInstancer<Collider2DVariable, Collider2DPair, UnityEngine.Collider2D, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/Collider2D Variable Instancer")] + public class Collider2DVariableInstancer : AtomVariableInstancer< + Collider2DVariable, + Collider2DPair, + UnityEngine.Collider2D, + Collider2DEvent, + Collider2DPairEvent, + Collider2DCollider2DFunction> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collider2DVariableInstancer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collider2DVariableInstancer.cs.meta new file mode 100644 index 00000000..df270b92 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collider2DVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 90c7105ca66cbb54fb335b9a90b5e137 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collision2DVariableInstancer.cs b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collision2DVariableInstancer.cs new file mode 100644 index 00000000..ecdf4ca2 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collision2DVariableInstancer.cs @@ -0,0 +1,19 @@ +using UnityAtoms.BaseAtoms; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable Instancer of type `UnityEngine.Collision2D`. Inherits from `AtomVariableInstancer<Collision2DVariable, Collision2DPair, UnityEngine.Collision2D, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/Collision2D Variable Instancer")] + public class Collision2DVariableInstancer : AtomVariableInstancer< + Collision2DVariable, + Collision2DPair, + UnityEngine.Collision2D, + Collision2DEvent, + Collision2DPairEvent, + Collision2DCollision2DFunction> + { } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collision2DVariableInstancer.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collision2DVariableInstancer.cs.meta new file mode 100644 index 00000000..5509efd8 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/VariableInstancers/Collision2DVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 841e73c9a31329945bfe792e14880b71 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Variables.meta b/Packages/BaseAtoms/Physics2D/Generated/Variables.meta new file mode 100644 index 00000000..da849aac --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b968307eed6e5ac46bfedfe07ea24ea9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Variables/Collider2DVariable.cs b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collider2DVariable.cs new file mode 100644 index 00000000..8fdf3177 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collider2DVariable.cs @@ -0,0 +1,18 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable of type `UnityEngine.Collider2D`. Inherits from `AtomVariable<UnityEngine.Collider2D, Collider2DPair, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collider2D", fileName = "Collider2DVariable")] + public sealed class Collider2DVariable : AtomVariable + { + protected override bool ValueEquals(UnityEngine.Collider2D other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Variables/Collider2DVariable.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collider2DVariable.cs.meta new file mode 100644 index 00000000..1bdae415 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collider2DVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f064e5bf752c24b4db675865dfd2b2da +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/Generated/Variables/Collision2DVariable.cs b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collision2DVariable.cs new file mode 100644 index 00000000..76912949 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collision2DVariable.cs @@ -0,0 +1,18 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.BaseAtoms +{ + /// + /// Variable of type `UnityEngine.Collision2D`. Inherits from `AtomVariable<UnityEngine.Collision2D, Collision2DPair, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collision2D", fileName = "Collision2DVariable")] + public sealed class Collision2DVariable : AtomVariable + { + protected override bool ValueEquals(UnityEngine.Collision2D other) + { + throw new NotImplementedException(); + } + } +} diff --git a/Packages/BaseAtoms/Physics2D/Generated/Variables/Collision2DVariable.cs.meta b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collision2DVariable.cs.meta new file mode 100644 index 00000000..f7b2448a --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/Generated/Variables/Collision2DVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5aa7b12c8b44f254f98c1ff7f754e3de +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Physics2D/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.asmdef b/Packages/BaseAtoms/Physics2D/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.asmdef new file mode 100644 index 00000000..c0b45947 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.asmdef @@ -0,0 +1,25 @@ +{ + "name": "UnityAtoms.UnityAtomsBaseAtoms.Physics2D", + "rootNamespace": "", + "references": [ + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:29492541a59d04a81b47a7f225e8a22d" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS2D" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics2d", + "expression": "0", + "define": "UNITY_PHYSICS2D" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/BaseAtoms/Physics2D/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.asmdef.meta b/Packages/BaseAtoms/Physics2D/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.asmdef.meta new file mode 100644 index 00000000..de913617 --- /dev/null +++ b/Packages/BaseAtoms/Physics2D/UnityAtoms.UnityAtomsBaseAtoms.Physics2D.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 366baf501d38aa1438cb1f7561c5cf64 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/BaseAtoms/Tests/Runtime/AtomPerformanceTests.cs b/Packages/BaseAtoms/Tests/Runtime/AtomPerformanceTests.cs new file mode 100644 index 00000000..b097a9f5 --- /dev/null +++ b/Packages/BaseAtoms/Tests/Runtime/AtomPerformanceTests.cs @@ -0,0 +1,91 @@ +#if UNITY_2019_1_OR_NEWER +using System.Collections; +using NUnit.Framework; +using Unity.Profiling; +using UnityAtoms.BaseAtoms; +using UnityEngine; +using UnityEngine.TestTools; +using UnityEngine.TestTools.Constraints; +using Is = UnityEngine.TestTools.Constraints.Is; + +namespace Tests +{ + public class AtomPerformanceTests + { + + [UnityTest] + public IEnumerator TestingAndProfiling_IntVariable() + { + var go = new GameObject(); + + var testIntVariable = ScriptableObject.CreateInstance(); + + yield return null; + yield return new WaitForFixedUpdate(); + + // with the help of those ProfilerMarkers you can check GC Alloc in the Profiler Window Pretty easy + // an alternative would be: https://docs.unity3d.com/2018.3/Documentation/ScriptReference/TestTools.Constraints.AllocatingGCMemoryConstraint.html + // Assert.That(() => { }, Is.Not.AllocatingGCMemory()); but it does not work correctly half of the time + + using (new ProfilerMarker("AtomPerformanceTests.IntVariable.FirstIncrement").Auto()) + { + testIntVariable.Value++; + } + + using (new ProfilerMarker("AtomPerformanceTests.IntVariable.Increments").Auto()) + { + for (int i = 0; i < 10000; ++i) + { + testIntVariable.Value++; + } + } + + Assert.That(() => + { + testIntVariable.Value++; + }, Is.Not.AllocatingGCMemory()); + + + yield return null; + } + + [UnityTest] + public IEnumerator TestingAndProfiling_Vector3Variable() + { + var go = new GameObject(); + + var testVector3Variable = ScriptableObject.CreateInstance(); + + yield return null; + yield return new WaitForFixedUpdate(); + + // with the help of those ProfilerMarkers you can check GC Alloc in the Profiler Window Pretty easy + // an alternative would be: https://docs.unity3d.com/2018.3/Documentation/ScriptReference/TestTools.Constraints.AllocatingGCMemoryConstraint.html + // Assert.That(() => { }, Is.Not.AllocatingGCMemory()); but it does not work correctly half of the time + + using (new ProfilerMarker("AtomPerformanceTests.Vector3Variable.FirstIncrement").Auto()) + { + testVector3Variable.Value += new Vector3(1, 0, 1); + } + + using (new ProfilerMarker("AtomPerformanceTests.Vector3Variable.Increments").Auto()) + { + for (int i = 0; i < 10000; ++i) + { + testVector3Variable.Value += new Vector3(1, 0, 1); + } + } + + Assert.That(() => + { + testVector3Variable.Value += new Vector3(1, 0, 1); + }, Is.Not.AllocatingGCMemory()); + + + yield return null; + } + + + } +} +#endif \ No newline at end of file diff --git a/Packages/BaseAtoms/Tests/Runtime/AtomPerformanceTests.cs.meta b/Packages/BaseAtoms/Tests/Runtime/AtomPerformanceTests.cs.meta new file mode 100644 index 00000000..8dde1f9c --- /dev/null +++ b/Packages/BaseAtoms/Tests/Runtime/AtomPerformanceTests.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 0697955307f24f4585255ed529c670c6 +timeCreated: 1714558420 \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Editor.meta b/Packages/MonoHooks/Physics/Editor.meta new file mode 100644 index 00000000..dca173a4 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 03c1a27ab74e49d498355605f359afd3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers.meta b/Packages/MonoHooks/Physics/Editor/Drawers.meta new file mode 100644 index 00000000..295d8110 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5c2bedc570e02264fb1402c6df038914 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Constants.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Constants.meta new file mode 100644 index 00000000..92821360 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 090f98d616205bd4d8e4977d0c9fb5a3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Constants/ColliderGameObjectConstantDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/ColliderGameObjectConstantDrawer.cs new file mode 100644 index 00000000..c6327455 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/ColliderGameObjectConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Constant property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer<ColliderGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderGameObjectConstant))] + public class ColliderGameObjectConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Constants/ColliderGameObjectConstantDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/ColliderGameObjectConstantDrawer.cs.meta new file mode 100644 index 00000000..7dc084b0 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/ColliderGameObjectConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 55d53aca3cec3498095f55a1de8fe52b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Constants/CollisionGameObjectConstantDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/CollisionGameObjectConstantDrawer.cs new file mode 100644 index 00000000..1ee6c6ad --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/CollisionGameObjectConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Constant property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionGameObjectConstant))] + public class CollisionGameObjectConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Constants/CollisionGameObjectConstantDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/CollisionGameObjectConstantDrawer.cs.meta new file mode 100644 index 00000000..938cdf9a --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Constants/CollisionGameObjectConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 12f0fd428393dee43b59d1ed70e66fc4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Events.meta new file mode 100644 index 00000000..f716ac00 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0f2b529320b52be4ab4f0af357e55f2b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectEventDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectEventDrawer.cs new file mode 100644 index 00000000..25c29263 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer<ColliderGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderGameObjectEvent))] + public class ColliderGameObjectEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectEventDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectEventDrawer.cs.meta new file mode 100644 index 00000000..85dcfef0 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6fdbdf806b0554e8fa019750469421a7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectPairEventDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectPairEventDrawer.cs new file mode 100644 index 00000000..80e4e899 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `ColliderGameObjectPair`. Inherits from `AtomDrawer<ColliderGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderGameObjectPairEvent))] + public class ColliderGameObjectPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectPairEventDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectPairEventDrawer.cs.meta new file mode 100644 index 00000000..6859a020 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/ColliderGameObjectPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a94ef15c16d844ffa980b2e1edc7e560 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectEventDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectEventDrawer.cs new file mode 100644 index 00000000..431f03e1 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionGameObjectEvent))] + public class CollisionGameObjectEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectEventDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectEventDrawer.cs.meta new file mode 100644 index 00000000..cd27726e --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6574b675a4f615e41b0eb03f542518c5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectPairEventDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectPairEventDrawer.cs new file mode 100644 index 00000000..9f290403 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `CollisionGameObjectPair`. Inherits from `AtomDrawer<CollisionGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionGameObjectPairEvent))] + public class CollisionGameObjectPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectPairEventDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectPairEventDrawer.cs.meta new file mode 100644 index 00000000..b3ec1fc2 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Events/CollisionGameObjectPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0af887da68ec063458e9c9747eb7ea81 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists.meta b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists.meta new file mode 100644 index 00000000..e07ea7ca --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dc12f99dacc9b104ca99983f6389a536 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/ColliderGameObjectValueListDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/ColliderGameObjectValueListDrawer.cs new file mode 100644 index 00000000..29d94702 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/ColliderGameObjectValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Value List property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer<ColliderGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderGameObjectValueList))] + public class ColliderGameObjectValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/ColliderGameObjectValueListDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/ColliderGameObjectValueListDrawer.cs.meta new file mode 100644 index 00000000..e3014edb --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/ColliderGameObjectValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 499c87e9c67534e09ad2ae12fb07d9dc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/CollisionGameObjectValueListDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/CollisionGameObjectValueListDrawer.cs new file mode 100644 index 00000000..997c3d5a --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/CollisionGameObjectValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Value List property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionGameObjectValueList))] + public class CollisionGameObjectValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/CollisionGameObjectValueListDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/CollisionGameObjectValueListDrawer.cs.meta new file mode 100644 index 00000000..5eaedeb7 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/ValueLists/CollisionGameObjectValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cc297f0828f7c134e9c3928199df3248 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Variables.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Variables.meta new file mode 100644 index 00000000..de71c5c8 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ad5dd765c0fbadf47a9c099e476d5bb5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Variables/ColliderGameObjectVariableDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/ColliderGameObjectVariableDrawer.cs new file mode 100644 index 00000000..15309f4c --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/ColliderGameObjectVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable property drawer of type `ColliderGameObject`. Inherits from `AtomDrawer<ColliderGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(ColliderGameObjectVariable))] + public class ColliderGameObjectVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Variables/ColliderGameObjectVariableDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/ColliderGameObjectVariableDrawer.cs.meta new file mode 100644 index 00000000..65ca1b3e --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/ColliderGameObjectVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9444b66b7cfd644b7a449e87b54e8968 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Variables/CollisionGameObjectVariableDrawer.cs b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/CollisionGameObjectVariableDrawer.cs new file mode 100644 index 00000000..88754f35 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/CollisionGameObjectVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable property drawer of type `CollisionGameObject`. Inherits from `AtomDrawer<CollisionGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(CollisionGameObjectVariable))] + public class CollisionGameObjectVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Drawers/Variables/CollisionGameObjectVariableDrawer.cs.meta b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/CollisionGameObjectVariableDrawer.cs.meta new file mode 100644 index 00000000..e6706037 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Drawers/Variables/CollisionGameObjectVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 63fd8ea02ea54b64e965b20d5d3ed329 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors.meta b/Packages/MonoHooks/Physics/Editor/Editors.meta new file mode 100644 index 00000000..3398b699 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8c3138e944f129540978efdc5341e214 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events.meta b/Packages/MonoHooks/Physics/Editor/Editors/Events.meta new file mode 100644 index 00000000..95f2ba3c --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e93a3e5dd1256224da9607ee3ef3d889 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectEventEditor.cs b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectEventEditor.cs new file mode 100644 index 00000000..b8b7971b --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `ColliderGameObject`. Inherits from `AtomEventEditor<ColliderGameObject, ColliderGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(ColliderGameObjectEvent))] + public sealed class ColliderGameObjectEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectEventEditor.cs.meta b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectEventEditor.cs.meta new file mode 100644 index 00000000..72d5bf28 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 41c727461d6264124b91656193eae9c2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectPairEventEditor.cs b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectPairEventEditor.cs new file mode 100644 index 00000000..e124e341 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `ColliderGameObjectPair`. Inherits from `AtomEventEditor<ColliderGameObjectPair, ColliderGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(ColliderGameObjectPairEvent))] + public sealed class ColliderGameObjectPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectPairEventEditor.cs.meta b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectPairEventEditor.cs.meta new file mode 100644 index 00000000..29b0b4d9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/ColliderGameObjectPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3d4a2c4e04e794136ae7d0bfa0c5e50e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectEventEditor.cs b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectEventEditor.cs new file mode 100644 index 00000000..2d0c1891 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `CollisionGameObject`. Inherits from `AtomEventEditor<CollisionGameObject, CollisionGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(CollisionGameObjectEvent))] + public sealed class CollisionGameObjectEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectEventEditor.cs.meta b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectEventEditor.cs.meta new file mode 100644 index 00000000..35af2da7 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d07b744adfe920643973f7347116aa1b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectPairEventEditor.cs b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectPairEventEditor.cs new file mode 100644 index 00000000..50f2990d --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `CollisionGameObjectPair`. Inherits from `AtomEventEditor<CollisionGameObjectPair, CollisionGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(CollisionGameObjectPairEvent))] + public sealed class CollisionGameObjectPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectPairEventEditor.cs.meta b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectPairEventEditor.cs.meta new file mode 100644 index 00000000..09231b70 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Events/CollisionGameObjectPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 72233f0a91e79094db9102e5d7b8bfe2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Variables.meta b/Packages/MonoHooks/Physics/Editor/Editors/Variables.meta new file mode 100644 index 00000000..95aa6a06 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ccb33da43f325ac4ebb941fc8e275f13 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Variables/ColliderGameObjectVariableEditor.cs b/Packages/MonoHooks/Physics/Editor/Editors/Variables/ColliderGameObjectVariableEditor.cs new file mode 100644 index 00000000..0cc1efad --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Variables/ColliderGameObjectVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable Inspector of type `ColliderGameObject`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(ColliderGameObjectVariable))] + public sealed class ColliderGameObjectVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Variables/ColliderGameObjectVariableEditor.cs.meta b/Packages/MonoHooks/Physics/Editor/Editors/Variables/ColliderGameObjectVariableEditor.cs.meta new file mode 100644 index 00000000..1be673a7 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Variables/ColliderGameObjectVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9b57dd7ee975e4b11a93f2249fba033d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Variables/CollisionGameObjectVariableEditor.cs b/Packages/MonoHooks/Physics/Editor/Editors/Variables/CollisionGameObjectVariableEditor.cs new file mode 100644 index 00000000..0fe4934c --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Variables/CollisionGameObjectVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable Inspector of type `CollisionGameObject`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(CollisionGameObjectVariable))] + public sealed class CollisionGameObjectVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/MonoHooks/Physics/Editor/Editors/Variables/CollisionGameObjectVariableEditor.cs.meta b/Packages/MonoHooks/Physics/Editor/Editors/Variables/CollisionGameObjectVariableEditor.cs.meta new file mode 100644 index 00000000..2052739a --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/Editors/Variables/CollisionGameObjectVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 47ef7474d27100745b46c41b7373a626 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics.asmdef b/Packages/MonoHooks/Physics/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics.asmdef new file mode 100644 index 00000000..7f7ea8bd --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics.asmdef @@ -0,0 +1,23 @@ +{ + "name": "UnityAtoms.UnityAtomsMonoHooks.Editor.Physics", + "rootNamespace": "", + "references": [ + "GUID:3f0b3a8e35f2a6e4396a1963c40855f9", + "GUID:39d90d64ded314c27a72b2586cd86439", + "GUID:451fcf7f130c17a45a6ee22b28b17186", + "GUID:87264ae76e36244ae9adf5b5fbf7ca19", + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:9bc48b3aaac2247dbad05ace2c2d11d7" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics.asmdef.meta b/Packages/MonoHooks/Physics/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics.asmdef.meta new file mode 100644 index 00000000..390fedb2 --- /dev/null +++ b/Packages/MonoHooks/Physics/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 854a55b428eaf994daa4ddc0baa83252 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime.meta b/Packages/MonoHooks/Physics/Runtime.meta new file mode 100644 index 00000000..946f24e9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dc053c04a57ffeb4e9ec913d2be0e323 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions.meta b/Packages/MonoHooks/Physics/Runtime/Actions.meta new file mode 100644 index 00000000..c9f68889 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 87dc95cc2e09b014aac0497035ddd32e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectAction.cs b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectAction.cs new file mode 100644 index 00000000..f9d77824 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `ColliderGameObject`. Inherits from `AtomAction<ColliderGameObject>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class ColliderGameObjectAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectAction.cs.meta b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectAction.cs.meta new file mode 100644 index 00000000..f2b578b9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ccbb4e8db9a77404f96afdc0532811e6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectPairAction.cs b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectPairAction.cs new file mode 100644 index 00000000..05bc3080 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectPairAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `ColliderGameObjectPair`. Inherits from `AtomAction<ColliderGameObjectPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class ColliderGameObjectPairAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectPairAction.cs.meta b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectPairAction.cs.meta new file mode 100644 index 00000000..c52ce9f8 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/ColliderGameObjectPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d8d3f851a71e34eedb965ae9f7a97cfc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectAction.cs b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectAction.cs new file mode 100644 index 00000000..a4ad4432 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `CollisionGameObject`. Inherits from `AtomAction<CollisionGameObject>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class CollisionGameObjectAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectAction.cs.meta b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectAction.cs.meta new file mode 100644 index 00000000..ff410c65 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 09a744f6a403cac4480ff23bca77faa4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectPairAction.cs b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectPairAction.cs new file mode 100644 index 00000000..3f87029e --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectPairAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `CollisionGameObjectPair`. Inherits from `AtomAction<CollisionGameObjectPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class CollisionGameObjectPairAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectPairAction.cs.meta b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectPairAction.cs.meta new file mode 100644 index 00000000..6a886fe0 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/CollisionGameObjectPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0f7b6b5af0a2ecc498df5db5dbcf31d8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue.meta b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue.meta new file mode 100644 index 00000000..a88040a9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 838d9358a2c32e9418f244c093596e08 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetColliderGameObjectVariableValue.cs b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetColliderGameObjectVariableValue.cs new file mode 100644 index 00000000..d42e6fbf --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetColliderGameObjectVariableValue.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Set variable value Action of type `ColliderGameObject`. Inherits from `SetVariableValue<ColliderGameObject, ColliderGameObjectPair, ColliderGameObjectVariable, ColliderGameObjectConstant, ColliderGameObjectReference, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/ColliderGameObject", fileName = "SetColliderGameObjectVariableValue")] + public sealed class SetColliderGameObjectVariableValue : SetVariableValue< + ColliderGameObject, + ColliderGameObjectPair, + ColliderGameObjectVariable, + ColliderGameObjectConstant, + ColliderGameObjectReference, + ColliderGameObjectEvent, + ColliderGameObjectPairEvent, + ColliderGameObjectColliderGameObjectFunction, + ColliderGameObjectVariableInstancer> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetColliderGameObjectVariableValue.cs.meta b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetColliderGameObjectVariableValue.cs.meta new file mode 100644 index 00000000..5c3dfc72 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetColliderGameObjectVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a77e81e61d11f4d218cfe15b3d1d0b6c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetCollisionGameObjectVariableValue.cs b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetCollisionGameObjectVariableValue.cs new file mode 100644 index 00000000..cf7f0d34 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetCollisionGameObjectVariableValue.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Set variable value Action of type `CollisionGameObject`. Inherits from `SetVariableValue<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectVariable, CollisionGameObjectConstant, CollisionGameObjectReference, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/CollisionGameObject", fileName = "SetCollisionGameObjectVariableValue")] + public sealed class SetCollisionGameObjectVariableValue : SetVariableValue< + CollisionGameObject, + CollisionGameObjectPair, + CollisionGameObjectVariable, + CollisionGameObjectConstant, + CollisionGameObjectReference, + CollisionGameObjectEvent, + CollisionGameObjectPairEvent, + CollisionGameObjectCollisionGameObjectFunction, + CollisionGameObjectVariableInstancer> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetCollisionGameObjectVariableValue.cs.meta b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetCollisionGameObjectVariableValue.cs.meta new file mode 100644 index 00000000..02a6f05c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Actions/SetVariableValue/SetCollisionGameObjectVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6e4a08c10a52bd543aa44785ea64c757 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Conditions.meta b/Packages/MonoHooks/Physics/Runtime/Conditions.meta new file mode 100644 index 00000000..5500cccc --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Conditions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6be944b64aff1de4793f7f2d30142d7b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Conditions/ColliderGameObjectCondition.cs b/Packages/MonoHooks/Physics/Runtime/Conditions/ColliderGameObjectCondition.cs new file mode 100644 index 00000000..0021ece3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Conditions/ColliderGameObjectCondition.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Condition of type `ColliderGameObject`. Inherits from `AtomCondition<ColliderGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class ColliderGameObjectCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Runtime/Conditions/ColliderGameObjectCondition.cs.meta b/Packages/MonoHooks/Physics/Runtime/Conditions/ColliderGameObjectCondition.cs.meta new file mode 100644 index 00000000..0c7c59a9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Conditions/ColliderGameObjectCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8e2121475a7ba7a428c4d496c8f4969a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Conditions/CollisionGameObjectCondition.cs b/Packages/MonoHooks/Physics/Runtime/Conditions/CollisionGameObjectCondition.cs new file mode 100644 index 00000000..fb48343b --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Conditions/CollisionGameObjectCondition.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Condition of type `CollisionGameObject`. Inherits from `AtomCondition<CollisionGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class CollisionGameObjectCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Runtime/Conditions/CollisionGameObjectCondition.cs.meta b/Packages/MonoHooks/Physics/Runtime/Conditions/CollisionGameObjectCondition.cs.meta new file mode 100644 index 00000000..a04afdce --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Conditions/CollisionGameObjectCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 638222c12a4e08d458250a1c7bf69f70 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Constants.meta b/Packages/MonoHooks/Physics/Runtime/Constants.meta new file mode 100644 index 00000000..d2345930 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6b639b86047128849aba6fced85171ef +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Constants/ColliderGameObjectConstant.cs b/Packages/MonoHooks/Physics/Runtime/Constants/ColliderGameObjectConstant.cs new file mode 100644 index 00000000..cf550df8 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Constants/ColliderGameObjectConstant.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Constant of type `ColliderGameObject`. Inherits from `AtomBaseVariable<ColliderGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/ColliderGameObject", fileName = "ColliderGameObjectConstant")] + public sealed class ColliderGameObjectConstant : AtomBaseVariable { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Constants/ColliderGameObjectConstant.cs.meta b/Packages/MonoHooks/Physics/Runtime/Constants/ColliderGameObjectConstant.cs.meta new file mode 100644 index 00000000..d602231e --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Constants/ColliderGameObjectConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: de2299e17884a4779afd69b224f7abce +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Constants/CollisionGameObjectConstant.cs b/Packages/MonoHooks/Physics/Runtime/Constants/CollisionGameObjectConstant.cs new file mode 100644 index 00000000..ab5e76c4 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Constants/CollisionGameObjectConstant.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Constant of type `CollisionGameObject`. Inherits from `AtomBaseVariable<CollisionGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/CollisionGameObject", fileName = "CollisionGameObjectConstant")] + public sealed class CollisionGameObjectConstant : AtomBaseVariable { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Constants/CollisionGameObjectConstant.cs.meta b/Packages/MonoHooks/Physics/Runtime/Constants/CollisionGameObjectConstant.cs.meta new file mode 100644 index 00000000..bce4653e --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Constants/CollisionGameObjectConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: abe63529ff397e04aa2f7cf0a38c747d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers.meta b/Packages/MonoHooks/Physics/Runtime/EventInstancers.meta new file mode 100644 index 00000000..5e378825 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9aeaba0f1f4144f4d9f2209fafc2426d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectEventInstancer.cs b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectEventInstancer.cs new file mode 100644 index 00000000..ee2ae90d --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `ColliderGameObject`. Inherits from `AtomEventInstancer<ColliderGameObject, ColliderGameObjectEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/ColliderGameObject Event Instancer")] + public class ColliderGameObjectEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectEventInstancer.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectEventInstancer.cs.meta new file mode 100644 index 00000000..8bfedf7b --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e60dbff66b00d43efbdd6087ddbf15a4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectPairEventInstancer.cs b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectPairEventInstancer.cs new file mode 100644 index 00000000..396251ce --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectPairEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `ColliderGameObjectPair`. Inherits from `AtomEventInstancer<ColliderGameObjectPair, ColliderGameObjectPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/ColliderGameObjectPair Event Instancer")] + public class ColliderGameObjectPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectPairEventInstancer.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectPairEventInstancer.cs.meta new file mode 100644 index 00000000..43e8d93c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/ColliderGameObjectPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 62721e1a146f84319bc6ad92abc4e4e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectEventInstancer.cs b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectEventInstancer.cs new file mode 100644 index 00000000..837b547f --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `CollisionGameObject`. Inherits from `AtomEventInstancer<CollisionGameObject, CollisionGameObjectEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/CollisionGameObject Event Instancer")] + public class CollisionGameObjectEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectEventInstancer.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectEventInstancer.cs.meta new file mode 100644 index 00000000..c542795c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ee32bf4eece09b0409f202480a58cb63 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectPairEventInstancer.cs b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectPairEventInstancer.cs new file mode 100644 index 00000000..c87d4802 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectPairEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `CollisionGameObjectPair`. Inherits from `AtomEventInstancer<CollisionGameObjectPair, CollisionGameObjectPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/CollisionGameObjectPair Event Instancer")] + public class CollisionGameObjectPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectPairEventInstancer.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectPairEventInstancer.cs.meta new file mode 100644 index 00000000..2401e29c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventInstancers/CollisionGameObjectPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 179ea467aac345343895115d142e7dcf +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners.meta b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners.meta new file mode 100644 index 00000000..9c901335 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9f1eaa37061174d4cbadf21c4728876d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectEventReferenceListener.cs b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectEventReferenceListener.cs new file mode 100644 index 00000000..9f880af2 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `ColliderGameObject`. Inherits from `AtomEventReferenceListener<ColliderGameObject, ColliderGameObjectEvent, ColliderGameObjectEventReference, ColliderGameObjectUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/ColliderGameObject Event Reference Listener")] + public sealed class ColliderGameObjectEventReferenceListener : AtomEventReferenceListener< + ColliderGameObject, + ColliderGameObjectEvent, + ColliderGameObjectEventReference, + ColliderGameObjectUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectEventReferenceListener.cs.meta new file mode 100644 index 00000000..30202b4e --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fbe20506fcd65434c90f8895322abf31 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectPairEventReferenceListener.cs b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectPairEventReferenceListener.cs new file mode 100644 index 00000000..1286cfba --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectPairEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `ColliderGameObjectPair`. Inherits from `AtomEventReferenceListener<ColliderGameObjectPair, ColliderGameObjectPairEvent, ColliderGameObjectPairEventReference, ColliderGameObjectPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/ColliderGameObjectPair Event Reference Listener")] + public sealed class ColliderGameObjectPairEventReferenceListener : AtomEventReferenceListener< + ColliderGameObjectPair, + ColliderGameObjectPairEvent, + ColliderGameObjectPairEventReference, + ColliderGameObjectPairUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectPairEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..8b5e50c0 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/ColliderGameObjectPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f43fcaf709b154779a98688b506a59e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectEventReferenceListener.cs b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectEventReferenceListener.cs new file mode 100644 index 00000000..54ac2c94 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `CollisionGameObject`. Inherits from `AtomEventReferenceListener<CollisionGameObject, CollisionGameObjectEvent, CollisionGameObjectEventReference, CollisionGameObjectUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/CollisionGameObject Event Reference Listener")] + public sealed class CollisionGameObjectEventReferenceListener : AtomEventReferenceListener< + CollisionGameObject, + CollisionGameObjectEvent, + CollisionGameObjectEventReference, + CollisionGameObjectUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectEventReferenceListener.cs.meta new file mode 100644 index 00000000..cc070081 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5896ba5e4d5b1e44ea0207f4d59b7e7b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectPairEventReferenceListener.cs b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectPairEventReferenceListener.cs new file mode 100644 index 00000000..41bd3bff --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectPairEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `CollisionGameObjectPair`. Inherits from `AtomEventReferenceListener<CollisionGameObjectPair, CollisionGameObjectPairEvent, CollisionGameObjectPairEventReference, CollisionGameObjectPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/CollisionGameObjectPair Event Reference Listener")] + public sealed class CollisionGameObjectPairEventReferenceListener : AtomEventReferenceListener< + CollisionGameObjectPair, + CollisionGameObjectPairEvent, + CollisionGameObjectPairEventReference, + CollisionGameObjectPairUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectPairEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..d38accc7 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferenceListeners/CollisionGameObjectPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a7c609d98637b1e4eb4821d9068f8089 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences.meta b/Packages/MonoHooks/Physics/Runtime/EventReferences.meta new file mode 100644 index 00000000..274b1c11 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 93257233fd328204582c5e659c74fb40 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectEventReference.cs b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectEventReference.cs new file mode 100644 index 00000000..4e6e6150 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `ColliderGameObject`. Inherits from `AtomEventReference<ColliderGameObject, ColliderGameObjectVariable, ColliderGameObjectEvent, ColliderGameObjectVariableInstancer, ColliderGameObjectEventInstancer>`. + /// + [Serializable] + public sealed class ColliderGameObjectEventReference : AtomEventReference< + ColliderGameObject, + ColliderGameObjectVariable, + ColliderGameObjectEvent, + ColliderGameObjectVariableInstancer, + ColliderGameObjectEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectEventReference.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectEventReference.cs.meta new file mode 100644 index 00000000..867902dc --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 49cf270770ea44625ba90732408a2a4a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectPairEventReference.cs b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectPairEventReference.cs new file mode 100644 index 00000000..45efcffc --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `ColliderGameObjectPair`. Inherits from `AtomEventReference<ColliderGameObjectPair, ColliderGameObjectVariable, ColliderGameObjectPairEvent, ColliderGameObjectVariableInstancer, ColliderGameObjectPairEventInstancer>`. + /// + [Serializable] + public sealed class ColliderGameObjectPairEventReference : AtomEventReference< + ColliderGameObjectPair, + ColliderGameObjectVariable, + ColliderGameObjectPairEvent, + ColliderGameObjectVariableInstancer, + ColliderGameObjectPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectPairEventReference.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectPairEventReference.cs.meta new file mode 100644 index 00000000..7bfcd1da --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/ColliderGameObjectPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ddcdc524064774bb6a517f028327a6ef +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectEventReference.cs b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectEventReference.cs new file mode 100644 index 00000000..d3f1c32a --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `CollisionGameObject`. Inherits from `AtomEventReference<CollisionGameObject, CollisionGameObjectVariable, CollisionGameObjectEvent, CollisionGameObjectVariableInstancer, CollisionGameObjectEventInstancer>`. + /// + [Serializable] + public sealed class CollisionGameObjectEventReference : AtomEventReference< + CollisionGameObject, + CollisionGameObjectVariable, + CollisionGameObjectEvent, + CollisionGameObjectVariableInstancer, + CollisionGameObjectEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectEventReference.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectEventReference.cs.meta new file mode 100644 index 00000000..9ca3a3db --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b18f10c1b5e3c69439de71735ef159fd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectPairEventReference.cs b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectPairEventReference.cs new file mode 100644 index 00000000..05f0bac0 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `CollisionGameObjectPair`. Inherits from `AtomEventReference<CollisionGameObjectPair, CollisionGameObjectVariable, CollisionGameObjectPairEvent, CollisionGameObjectVariableInstancer, CollisionGameObjectPairEventInstancer>`. + /// + [Serializable] + public sealed class CollisionGameObjectPairEventReference : AtomEventReference< + CollisionGameObjectPair, + CollisionGameObjectVariable, + CollisionGameObjectPairEvent, + CollisionGameObjectVariableInstancer, + CollisionGameObjectPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectPairEventReference.cs.meta b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectPairEventReference.cs.meta new file mode 100644 index 00000000..5e92fbaa --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/EventReferences/CollisionGameObjectPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 479d581fe005be842bf3c1de6ebdf8b9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Events.meta b/Packages/MonoHooks/Physics/Runtime/Events.meta new file mode 100644 index 00000000..2e901a1e --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c5828b3d5274d9d4eae3e7c5a4640980 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectEvent.cs b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectEvent.cs new file mode 100644 index 00000000..167ea2d5 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `ColliderGameObject`. Inherits from `AtomEvent<ColliderGameObject>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/ColliderGameObject", fileName = "ColliderGameObjectEvent")] + public sealed class ColliderGameObjectEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectEvent.cs.meta new file mode 100644 index 00000000..6733cf5d --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 10309a093d1a0427ab2162052252fd8c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectPairEvent.cs b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectPairEvent.cs new file mode 100644 index 00000000..ae8a2482 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectPairEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `ColliderGameObjectPair`. Inherits from `AtomEvent<ColliderGameObjectPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/ColliderGameObjectPair", fileName = "ColliderGameObjectPairEvent")] + public sealed class ColliderGameObjectPairEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectPairEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectPairEvent.cs.meta new file mode 100644 index 00000000..c5ddc679 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/ColliderGameObjectPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7e4d38de6d87145898391553d0ed100d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectEvent.cs b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectEvent.cs new file mode 100644 index 00000000..1cf83103 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `CollisionGameObject`. Inherits from `AtomEvent<CollisionGameObject>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/CollisionGameObject", fileName = "CollisionGameObjectEvent")] + public sealed class CollisionGameObjectEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectEvent.cs.meta new file mode 100644 index 00000000..85cbe4bb --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f2f0ed7c7f74dda48b46eb7efefce497 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectPairEvent.cs b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectPairEvent.cs new file mode 100644 index 00000000..30abce1a --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectPairEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `CollisionGameObjectPair`. Inherits from `AtomEvent<CollisionGameObjectPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/CollisionGameObjectPair", fileName = "CollisionGameObjectPairEvent")] + public sealed class CollisionGameObjectPairEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectPairEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectPairEvent.cs.meta new file mode 100644 index 00000000..330039f8 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Events/CollisionGameObjectPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b7ef987a4043e384aab5f5ec0ce2950b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Functions.meta b/Packages/MonoHooks/Physics/Runtime/Functions.meta new file mode 100644 index 00000000..682a9fb9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Functions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9ef13fac3b8a5f0498f35b875f811158 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Functions/ColliderGameObjectColliderGameObjectFunction.cs b/Packages/MonoHooks/Physics/Runtime/Functions/ColliderGameObjectColliderGameObjectFunction.cs new file mode 100644 index 00000000..f85455b3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Functions/ColliderGameObjectColliderGameObjectFunction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Function x 2 of type `ColliderGameObject`. Inherits from `AtomFunction<ColliderGameObject, ColliderGameObject>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class ColliderGameObjectColliderGameObjectFunction : AtomFunction { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Functions/ColliderGameObjectColliderGameObjectFunction.cs.meta b/Packages/MonoHooks/Physics/Runtime/Functions/ColliderGameObjectColliderGameObjectFunction.cs.meta new file mode 100644 index 00000000..c1bd80a6 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Functions/ColliderGameObjectColliderGameObjectFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0c29da59277cc44e8adb957aca1349f4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Functions/CollisionGameObjectCollisionGameObjectFunction.cs b/Packages/MonoHooks/Physics/Runtime/Functions/CollisionGameObjectCollisionGameObjectFunction.cs new file mode 100644 index 00000000..ffac3cf9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Functions/CollisionGameObjectCollisionGameObjectFunction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Function x 2 of type `CollisionGameObject`. Inherits from `AtomFunction<CollisionGameObject, CollisionGameObject>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class CollisionGameObjectCollisionGameObjectFunction : AtomFunction { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Functions/CollisionGameObjectCollisionGameObjectFunction.cs.meta b/Packages/MonoHooks/Physics/Runtime/Functions/CollisionGameObjectCollisionGameObjectFunction.cs.meta new file mode 100644 index 00000000..d42bd2e4 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Functions/CollisionGameObjectCollisionGameObjectFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7626225b6cce2c244a98b61acb4d7ba9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks.meta b/Packages/MonoHooks/Physics/Runtime/Hooks.meta new file mode 100644 index 00000000..0ba5001c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 83ed7c78d3f473f41a8d4d9bd6815507 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/ColliderHook.cs b/Packages/MonoHooks/Physics/Runtime/Hooks/ColliderHook.cs new file mode 100644 index 00000000..2ee8edc3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/ColliderHook.cs @@ -0,0 +1,42 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Base class for all `MonoHook`s of type `Collider`. + /// + [EditorIcon("atom-icon-delicate")] + public abstract class ColliderHook : MonoHook< + ColliderEvent, + Collider, + ColliderEventReference, + GameObjectGameObjectFunction> + { + /// + /// Event including a GameObject reference. + /// + public ColliderGameObjectEvent EventWithGameObject + { + get => _eventWithGameObjectReference != null ? _eventWithGameObjectReference.GetEvent() : null; + set + { + if (_eventWithGameObjectReference != null) + { + _eventWithGameObjectReference.SetEvent(value); + } + } + } + + [SerializeField] + private ColliderGameObjectEventReference _eventWithGameObjectReference = default(ColliderGameObjectEventReference); + + protected override void RaiseWithGameObject(Collider value, GameObject gameObject) + { + if (EventWithGameObject) + { + EventWithGameObject.Raise(new ColliderGameObject() { Collider = value, GameObject = gameObject }); + } + } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/ColliderHook.cs.meta b/Packages/MonoHooks/Physics/Runtime/Hooks/ColliderHook.cs.meta new file mode 100644 index 00000000..ea703b6a --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/ColliderHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8a0655ae387c24b7e96f0406aa5c990b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/CollisionHook.cs b/Packages/MonoHooks/Physics/Runtime/Hooks/CollisionHook.cs new file mode 100644 index 00000000..366cba82 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/CollisionHook.cs @@ -0,0 +1,42 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Base class for all `MonoHook`s of type `Collision`. + /// + [EditorIcon("atom-icon-delicate")] + public abstract class CollisionHook : MonoHook< + CollisionEvent, + Collision, + CollisionEventReference, + GameObjectGameObjectFunction> + { + /// + /// Event including a GameObject reference. + /// + public CollisionGameObjectEvent EventWithGameObject + { + get => _eventWithGameObjectReference != null ? _eventWithGameObjectReference.GetEvent() : null; + set + { + if(_eventWithGameObjectReference != null) + { + _eventWithGameObjectReference.SetEvent(value); + } + } + } + + [SerializeField] + private CollisionGameObjectEventReference _eventWithGameObjectReference = default(CollisionGameObjectEventReference); + + protected override void RaiseWithGameObject(Collision value, GameObject gameObject) + { + if(EventWithGameObject) + { + EventWithGameObject.Raise(new CollisionGameObject() { Collision = value, GameObject = gameObject }); + } + } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/CollisionHook.cs.meta b/Packages/MonoHooks/Physics/Runtime/Hooks/CollisionHook.cs.meta new file mode 100644 index 00000000..bf106c5f --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/CollisionHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0beb0f0f93c2f944f85de39c951291a4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/OnCollisionHook.cs b/Packages/MonoHooks/Physics/Runtime/Hooks/OnCollisionHook.cs new file mode 100644 index 00000000..da3ff6f8 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/OnCollisionHook.cs @@ -0,0 +1,43 @@ +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + /// + /// 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) + /// + [EditorIcon("atom-icon-delicate")] + [AddComponentMenu("Unity Atoms/Hooks/On Collision Hook")] + public sealed class OnCollisionHook : CollisionHook + { + /// + /// Set to true if Event should be triggered on `OnCollisionEnter` + /// + [SerializeField] + private bool _collisionOnEnter = default(bool); + /// + /// Set to true if Event should be triggered on `OnCollisionExit` + /// + [SerializeField] + private bool _collisionOnExit = default(bool); + /// + /// Set to true if Event should be triggered on `OnCollisionStay` + /// + [SerializeField] + private bool _collisionOnStay = default(bool); + + private void OnCollisionEnter(Collision other) + { + if(_collisionOnEnter) OnHook(other); + } + + private void OnCollisionExit(Collision other) + { + if(_collisionOnExit) OnHook(other); + } + + private void OnCollisionStay(Collision other) + { + if(_collisionOnStay) OnHook(other); + } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/OnCollisionHook.cs.meta b/Packages/MonoHooks/Physics/Runtime/Hooks/OnCollisionHook.cs.meta new file mode 100644 index 00000000..bc038b7a --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/OnCollisionHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fa4b7bc9de2f20447bfb43c2cc95cbee +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/OnTriggerHook.cs b/Packages/MonoHooks/Physics/Runtime/Hooks/OnTriggerHook.cs new file mode 100644 index 00000000..9e743450 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/OnTriggerHook.cs @@ -0,0 +1,43 @@ +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Mono Hook for [`OnTriggerEnter`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter.html), [`OnTriggerExit`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerExit.html) and [`OnTriggerStay`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerStay.html) + /// + [EditorIcon("atom-icon-delicate")] + [AddComponentMenu("Unity Atoms/Hooks/On Trigger Hook")] + public sealed class OnTriggerHook : ColliderHook + { + /// + /// Set to true if Event should be triggered on `OnTriggerEnter` + /// + [SerializeField] + private bool _triggerOnEnter = default(bool); + /// + /// Set to true if Event should be triggered on `OnTriggerExit` + /// + [SerializeField] + private bool _triggerOnExit = default(bool); + /// + /// Set to true if Event should be triggered on `OnTriggerStay` + /// + [SerializeField] + private bool _triggerOnStay = default(bool); + + private void OnTriggerEnter(Collider other) + { + if (_triggerOnEnter) OnHook(other); + } + + private void OnTriggerExit(Collider other) + { + if (_triggerOnExit) OnHook(other); + } + + private void OnTriggerStay(Collider other) + { + if (_triggerOnStay) OnHook(other); + } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Hooks/OnTriggerHook.cs.meta b/Packages/MonoHooks/Physics/Runtime/Hooks/OnTriggerHook.cs.meta new file mode 100644 index 00000000..871766ca --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Hooks/OnTriggerHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 93a1de40e6be5415db15c966a482000d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Pairs.meta b/Packages/MonoHooks/Physics/Runtime/Pairs.meta new file mode 100644 index 00000000..71acaa34 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Pairs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7f74f0e8961651746b2833ea4ed20611 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Pairs/ColliderGameObjectPair.cs b/Packages/MonoHooks/Physics/Runtime/Pairs/ColliderGameObjectPair.cs new file mode 100644 index 00000000..9c18d7a3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Pairs/ColliderGameObjectPair.cs @@ -0,0 +1,22 @@ +using System; +using UnityEngine; +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// IPair of type `<ColliderGameObject>`. Inherits from `IPair<ColliderGameObject>`. + /// + [Serializable] + public struct ColliderGameObjectPair : IPair + { + public ColliderGameObject Item1 { get => _item1; set => _item1 = value; } + public ColliderGameObject Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private ColliderGameObject _item1; + [SerializeField] + private ColliderGameObject _item2; + + public void Deconstruct(out ColliderGameObject item1, out ColliderGameObject item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Runtime/Pairs/ColliderGameObjectPair.cs.meta b/Packages/MonoHooks/Physics/Runtime/Pairs/ColliderGameObjectPair.cs.meta new file mode 100644 index 00000000..d9049ae6 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Pairs/ColliderGameObjectPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6587f1bc3c7744b07abe8a8347127091 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Pairs/CollisionGameObjectPair.cs b/Packages/MonoHooks/Physics/Runtime/Pairs/CollisionGameObjectPair.cs new file mode 100644 index 00000000..bcb5b85c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Pairs/CollisionGameObjectPair.cs @@ -0,0 +1,22 @@ +using System; +using UnityEngine; +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// IPair of type `<CollisionGameObject>`. Inherits from `IPair<CollisionGameObject>`. + /// + [Serializable] + public struct CollisionGameObjectPair : IPair + { + public CollisionGameObject Item1 { get => _item1; set => _item1 = value; } + public CollisionGameObject Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private CollisionGameObject _item1; + [SerializeField] + private CollisionGameObject _item2; + + public void Deconstruct(out CollisionGameObject item1, out CollisionGameObject item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Runtime/Pairs/CollisionGameObjectPair.cs.meta b/Packages/MonoHooks/Physics/Runtime/Pairs/CollisionGameObjectPair.cs.meta new file mode 100644 index 00000000..6fd74908 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Pairs/CollisionGameObjectPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1ebaa24bd4028934e9f74f171e2e4955 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/References.meta b/Packages/MonoHooks/Physics/Runtime/References.meta new file mode 100644 index 00000000..c9ad7e95 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/References.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2250fc606c08bde45ba999bee338a5aa +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/References/ColliderGameObjectReference.cs b/Packages/MonoHooks/Physics/Runtime/References/ColliderGameObjectReference.cs new file mode 100644 index 00000000..6d4580f5 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/References/ColliderGameObjectReference.cs @@ -0,0 +1,25 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Reference of type `ColliderGameObject`. Inherits from `EquatableAtomReference<ColliderGameObject, ColliderGameObjectPair, ColliderGameObjectConstant, ColliderGameObjectVariable, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectColliderGameObjectFunction, ColliderGameObjectVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class ColliderGameObjectReference : EquatableAtomReference< + ColliderGameObject, + ColliderGameObjectPair, + ColliderGameObjectConstant, + ColliderGameObjectVariable, + ColliderGameObjectEvent, + ColliderGameObjectPairEvent, + ColliderGameObjectColliderGameObjectFunction, + ColliderGameObjectVariableInstancer>, IEquatable + { + public ColliderGameObjectReference() : base() { } + public ColliderGameObjectReference(ColliderGameObject value) : base(value) { } + public bool Equals(ColliderGameObjectReference other) { return base.Equals(other); } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/References/ColliderGameObjectReference.cs.meta b/Packages/MonoHooks/Physics/Runtime/References/ColliderGameObjectReference.cs.meta new file mode 100644 index 00000000..5f078b99 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/References/ColliderGameObjectReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a24fee6077ebb4bd88832ef53f98e26e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/References/CollisionGameObjectReference.cs b/Packages/MonoHooks/Physics/Runtime/References/CollisionGameObjectReference.cs new file mode 100644 index 00000000..11abab3b --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/References/CollisionGameObjectReference.cs @@ -0,0 +1,25 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Reference of type `CollisionGameObject`. Inherits from `EquatableAtomReference<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectConstant, CollisionGameObjectVariable, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectCollisionGameObjectFunction, CollisionGameObjectVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class CollisionGameObjectReference : EquatableAtomReference< + CollisionGameObject, + CollisionGameObjectPair, + CollisionGameObjectConstant, + CollisionGameObjectVariable, + CollisionGameObjectEvent, + CollisionGameObjectPairEvent, + CollisionGameObjectCollisionGameObjectFunction, + CollisionGameObjectVariableInstancer>, IEquatable + { + public CollisionGameObjectReference() : base() { } + public CollisionGameObjectReference(CollisionGameObject value) : base(value) { } + public bool Equals(CollisionGameObjectReference other) { return base.Equals(other); } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/References/CollisionGameObjectReference.cs.meta b/Packages/MonoHooks/Physics/Runtime/References/CollisionGameObjectReference.cs.meta new file mode 100644 index 00000000..567b144c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/References/CollisionGameObjectReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: abc83f20176f2a9419d16bf07eff599b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection.meta b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection.meta new file mode 100644 index 00000000..b7dc32b3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ca042410e18300847867130da5939aba +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncColliderGameObjectVariableInstancerToCollection.cs b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncColliderGameObjectVariableInstancerToCollection.cs new file mode 100644 index 00000000..1a320da2 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncColliderGameObjectVariableInstancerToCollection.cs @@ -0,0 +1,13 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Adds Variable Instancer's Variable of type ColliderGameObject to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync ColliderGameObject Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncColliderGameObjectVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncColliderGameObjectVariableInstancerToCollection.cs.meta b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncColliderGameObjectVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..78c05ad4 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncColliderGameObjectVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 70a860013e0574439a7cff1ffcab164c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncCollisionGameObjectVariableInstancerToCollection.cs b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncCollisionGameObjectVariableInstancerToCollection.cs new file mode 100644 index 00000000..0cdc5fbd --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncCollisionGameObjectVariableInstancerToCollection.cs @@ -0,0 +1,13 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Adds Variable Instancer's Variable of type CollisionGameObject to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync CollisionGameObject Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncCollisionGameObjectVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncCollisionGameObjectVariableInstancerToCollection.cs.meta b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncCollisionGameObjectVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..448e00a6 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/SyncVariableInstancerToCollection/SyncCollisionGameObjectVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 98c8768f54ad0544aa51edd547cb0fab +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Types.meta b/Packages/MonoHooks/Physics/Runtime/Types.meta new file mode 100644 index 00000000..917bd6e4 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Types.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d56ff0f4f11fc5b4a8c39c52e51e9573 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Types/ColliderGameObject.cs b/Packages/MonoHooks/Physics/Runtime/Types/ColliderGameObject.cs new file mode 100644 index 00000000..d88f93f3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Types/ColliderGameObject.cs @@ -0,0 +1,75 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + [Serializable] + public struct ColliderGameObject : IEquatable + { + public Collider Collider { get => _collider; set => _collider = value; } + public GameObject GameObject { get => _gameObject; set => _gameObject = value; } + + + [SerializeField] + private Collider _collider; + + [SerializeField] + private GameObject _gameObject; + + + /// + /// Determine if 2 `ColliderGameObject` are equal. + /// + /// The other `ColliderGameObject` to compare with. + /// `true` if equal, otherwise `false`. + public bool Equals(ColliderGameObject other) + { + return this.Collider == other.Collider && this.GameObject == other.GameObject; + } + + /// + /// Determine if 2 `ColliderGameObject` are equal comparing against another `object`. + /// + /// The other `object` to compare with. + /// `true` if equal, otherwise `false`. + public override bool Equals(object obj) + { + ColliderGameObject cgo = (ColliderGameObject)obj; + return Equals(cgo); + } + + /// + /// `GetHashCode()` in order to implement `IEquatable<ColliderGameObject>` + /// + /// An unique hashcode for the current value. + public override int GetHashCode() + { + var hash = 17; + hash = hash * 23 + this.Collider.GetHashCode(); + hash = hash * 23 + this.GameObject.GetHashCode(); + return hash; + } + + /// + /// Equality operator + /// + /// First `ColliderGameObject`. + /// Other `ColliderGameObject`. + /// `true` if equal, otherwise `false`. + public static bool operator ==(ColliderGameObject first, ColliderGameObject second) + { + return first.Equals(second); + } + + /// + /// Inequality operator + /// + /// First `ColliderGameObject`. + /// Other `ColliderGameObject`. + /// `true` if they are not equal, otherwise `false`. + public static bool operator !=(ColliderGameObject first, ColliderGameObject second) + { + return !first.Equals(second); + } + } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Runtime/Types/ColliderGameObject.cs.meta b/Packages/MonoHooks/Physics/Runtime/Types/ColliderGameObject.cs.meta new file mode 100644 index 00000000..c3000f3f --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Types/ColliderGameObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1ee48d7e682ff4b89be4cd99c18ecb3f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Types/CollisionGameObject.cs b/Packages/MonoHooks/Physics/Runtime/Types/CollisionGameObject.cs new file mode 100644 index 00000000..afe56246 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Types/CollisionGameObject.cs @@ -0,0 +1,75 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + [Serializable] + public struct CollisionGameObject : IEquatable + { + public Collision Collision { get => _collision; set => _collision = value; } + public GameObject GameObject { get => _gameObject; set => _gameObject = value; } + + + [SerializeField] + private Collision _collision; + + [SerializeField] + private GameObject _gameObject; + + + /// + /// Determine if 2 `Collider2DGameObject` are equal. + /// + /// The other `Collider2DGameObject` to compare with. + /// `true` if equal, otherwise `false`. + public bool Equals(CollisionGameObject other) + { + return this.Collision == other.Collision && this.GameObject == other.GameObject; + } + + /// + /// Determine if 2 `Collider2DGameObject` are equal comparing against another `object`. + /// + /// The other `object` to compare with. + /// `true` if equal, otherwise `false`. + public override bool Equals(object obj) + { + CollisionGameObject cgo = (CollisionGameObject)obj; + return Equals(cgo); + } + + /// + /// `GetHashCode()` in order to implement `IEquatable<Collider2DGameObject>` + /// + /// An unique hashcode for the current value. + public override int GetHashCode() + { + var hash = 17; + hash = hash * 23 + this.Collision.GetHashCode(); + hash = hash * 23 + this.GameObject.GetHashCode(); + return hash; + } + + /// + /// Equality operator + /// + /// First `Collider2DGameObject`. + /// Other `Collider2DGameObject`. + /// `true` if equal, otherwise `false`. + public static bool operator ==(CollisionGameObject first, CollisionGameObject second) + { + return first.Equals(second); + } + + /// + /// Inequality operator + /// + /// First `Collider2DGameObject`. + /// Other `Collider2DGameObject`. + /// `true` if they are not equal, otherwise `false`. + public static bool operator !=(CollisionGameObject first, CollisionGameObject second) + { + return !first.Equals(second); + } + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Types/CollisionGameObject.cs.meta b/Packages/MonoHooks/Physics/Runtime/Types/CollisionGameObject.cs.meta new file mode 100644 index 00000000..a510d005 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Types/CollisionGameObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bca69f755f6fb154093f254c70acd6b8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics.asmdef b/Packages/MonoHooks/Physics/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics.asmdef new file mode 100644 index 00000000..0000cc5c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics.asmdef @@ -0,0 +1,27 @@ +{ + "name": "UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics", + "rootNamespace": "", + "references": [ + "GUID:29492541a59d04a81b47a7f225e8a22d", + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:39d90d64ded314c27a72b2586cd86439", + "GUID:451fcf7f130c17a45a6ee22b28b17186" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics", + "expression": "0", + "define": "UNITY_PHYSICS" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics.asmdef.meta b/Packages/MonoHooks/Physics/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics.asmdef.meta new file mode 100644 index 00000000..951ca63d --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 3f0b3a8e35f2a6e4396a1963c40855f9 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents.meta b/Packages/MonoHooks/Physics/Runtime/UnityEvents.meta new file mode 100644 index 00000000..1ad0c7c1 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3409dcb97ae42404db3de5265fe2e1be +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectPairUnityEvent.cs b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectPairUnityEvent.cs new file mode 100644 index 00000000..958728e8 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `ColliderGameObjectPair`. Inherits from `UnityEvent<ColliderGameObjectPair>`. + /// + [Serializable] + public sealed class ColliderGameObjectPairUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectPairUnityEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectPairUnityEvent.cs.meta new file mode 100644 index 00000000..b7fb7df9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8e01aa52fe2d04a82b63d8611e13ab46 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectUnityEvent.cs b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectUnityEvent.cs new file mode 100644 index 00000000..864b19a5 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `ColliderGameObject`. Inherits from `UnityEvent<ColliderGameObject>`. + /// + [Serializable] + public sealed class ColliderGameObjectUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectUnityEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectUnityEvent.cs.meta new file mode 100644 index 00000000..193f7bac --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/ColliderGameObjectUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1f83e6e3db6514a62b95606fdb6b0e44 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectPairUnityEvent.cs b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectPairUnityEvent.cs new file mode 100644 index 00000000..77df7bd1 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `CollisionGameObjectPair`. Inherits from `UnityEvent<CollisionGameObjectPair>`. + /// + [Serializable] + public sealed class CollisionGameObjectPairUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectPairUnityEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectPairUnityEvent.cs.meta new file mode 100644 index 00000000..c1132505 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 71dc317734158be4ebffa4ceca6a26a8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectUnityEvent.cs b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectUnityEvent.cs new file mode 100644 index 00000000..affee6c9 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `CollisionGameObject`. Inherits from `UnityEvent<CollisionGameObject>`. + /// + [Serializable] + public sealed class CollisionGameObjectUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectUnityEvent.cs.meta b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectUnityEvent.cs.meta new file mode 100644 index 00000000..c0e652be --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/UnityEvents/CollisionGameObjectUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b5eaff63c92c11242b26623567351a59 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/ValueLists.meta b/Packages/MonoHooks/Physics/Runtime/ValueLists.meta new file mode 100644 index 00000000..65a54096 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 85b9d43ecb54da747b590265570531af +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/ValueLists/ColliderGameObjectValueList.cs b/Packages/MonoHooks/Physics/Runtime/ValueLists/ColliderGameObjectValueList.cs new file mode 100644 index 00000000..101c9942 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/ValueLists/ColliderGameObjectValueList.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Value List of type `ColliderGameObject`. Inherits from `AtomValueList<ColliderGameObject, ColliderGameObjectEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/ColliderGameObject", fileName = "ColliderGameObjectValueList")] + public sealed class ColliderGameObjectValueList : AtomValueList { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/ValueLists/ColliderGameObjectValueList.cs.meta b/Packages/MonoHooks/Physics/Runtime/ValueLists/ColliderGameObjectValueList.cs.meta new file mode 100644 index 00000000..6ce52851 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/ValueLists/ColliderGameObjectValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e20bc5a022c0d4c69bbf45e85d8bdac6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/ValueLists/CollisionGameObjectValueList.cs b/Packages/MonoHooks/Physics/Runtime/ValueLists/CollisionGameObjectValueList.cs new file mode 100644 index 00000000..a3e7240a --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/ValueLists/CollisionGameObjectValueList.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Value List of type `CollisionGameObject`. Inherits from `AtomValueList<CollisionGameObject, CollisionGameObjectEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/CollisionGameObject", fileName = "CollisionGameObjectValueList")] + public sealed class CollisionGameObjectValueList : AtomValueList { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/ValueLists/CollisionGameObjectValueList.cs.meta b/Packages/MonoHooks/Physics/Runtime/ValueLists/CollisionGameObjectValueList.cs.meta new file mode 100644 index 00000000..580e16eb --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/ValueLists/CollisionGameObjectValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f3658e15c6ec8c048ba88f099301af88 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/VariableInstancers.meta b/Packages/MonoHooks/Physics/Runtime/VariableInstancers.meta new file mode 100644 index 00000000..9d872d93 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/VariableInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9191c453d7fe86148bfb760e1bbb2270 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/VariableInstancers/ColliderGameObjectVariableInstancer.cs b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/ColliderGameObjectVariableInstancer.cs new file mode 100644 index 00000000..7cf8b27f --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/ColliderGameObjectVariableInstancer.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable Instancer of type `ColliderGameObject`. Inherits from `AtomVariableInstancer<ColliderGameObjectVariable, ColliderGameObjectPair, ColliderGameObject, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectColliderGameObjectFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/ColliderGameObject Variable Instancer")] + public class ColliderGameObjectVariableInstancer : AtomVariableInstancer< + ColliderGameObjectVariable, + ColliderGameObjectPair, + ColliderGameObject, + ColliderGameObjectEvent, + ColliderGameObjectPairEvent, + ColliderGameObjectColliderGameObjectFunction> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/VariableInstancers/ColliderGameObjectVariableInstancer.cs.meta b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/ColliderGameObjectVariableInstancer.cs.meta new file mode 100644 index 00000000..68519165 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/ColliderGameObjectVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 06002098e85d74ec48a2188c0e22af62 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/VariableInstancers/CollisionGameObjectVariableInstancer.cs b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/CollisionGameObjectVariableInstancer.cs new file mode 100644 index 00000000..ff863962 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/CollisionGameObjectVariableInstancer.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable Instancer of type `CollisionGameObject`. Inherits from `AtomVariableInstancer<CollisionGameObjectVariable, CollisionGameObjectPair, CollisionGameObject, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectCollisionGameObjectFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/CollisionGameObject Variable Instancer")] + public class CollisionGameObjectVariableInstancer : AtomVariableInstancer< + CollisionGameObjectVariable, + CollisionGameObjectPair, + CollisionGameObject, + CollisionGameObjectEvent, + CollisionGameObjectPairEvent, + CollisionGameObjectCollisionGameObjectFunction> + { } +} diff --git a/Packages/MonoHooks/Physics/Runtime/VariableInstancers/CollisionGameObjectVariableInstancer.cs.meta b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/CollisionGameObjectVariableInstancer.cs.meta new file mode 100644 index 00000000..dba94532 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/VariableInstancers/CollisionGameObjectVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 64342b33eb901704aab4766fea8c17b1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Variables.meta b/Packages/MonoHooks/Physics/Runtime/Variables.meta new file mode 100644 index 00000000..200144d6 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 64e0656d5d3c4cc4f8291a9e74320f8c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Variables/ColliderGameObjectVariable.cs b/Packages/MonoHooks/Physics/Runtime/Variables/ColliderGameObjectVariable.cs new file mode 100644 index 00000000..33e4b4d3 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Variables/ColliderGameObjectVariable.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable of type `ColliderGameObject`. Inherits from `EquatableAtomVariable<ColliderGameObject, ColliderGameObjectPair, ColliderGameObjectEvent, ColliderGameObjectPairEvent, ColliderGameObjectColliderGameObjectFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/ColliderGameObject", fileName = "ColliderGameObjectVariable")] + public sealed class ColliderGameObjectVariable : EquatableAtomVariable + { + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Variables/ColliderGameObjectVariable.cs.meta b/Packages/MonoHooks/Physics/Runtime/Variables/ColliderGameObjectVariable.cs.meta new file mode 100644 index 00000000..c94a2669 --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Variables/ColliderGameObjectVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e3a6fbccde8c34c7a936385f9d61fd8e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics/Runtime/Variables/CollisionGameObjectVariable.cs b/Packages/MonoHooks/Physics/Runtime/Variables/CollisionGameObjectVariable.cs new file mode 100644 index 00000000..2736731c --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Variables/CollisionGameObjectVariable.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable of type `CollisionGameObject`. Inherits from `EquatableAtomVariable<CollisionGameObject, CollisionGameObjectPair, CollisionGameObjectEvent, CollisionGameObjectPairEvent, CollisionGameObjectCollisionGameObjectFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/CollisionGameObject", fileName = "CollisionGameObjectVariable")] + public sealed class CollisionGameObjectVariable : EquatableAtomVariable + { + } +} diff --git a/Packages/MonoHooks/Physics/Runtime/Variables/CollisionGameObjectVariable.cs.meta b/Packages/MonoHooks/Physics/Runtime/Variables/CollisionGameObjectVariable.cs.meta new file mode 100644 index 00000000..59dfefed --- /dev/null +++ b/Packages/MonoHooks/Physics/Runtime/Variables/CollisionGameObjectVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6c8f7c78544fe5a49a8dfecd5ec4f48c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor.meta b/Packages/MonoHooks/Physics2D/Editor.meta new file mode 100644 index 00000000..11e10598 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bd9c171d599b0f34c81998816ba36e6c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers.meta new file mode 100644 index 00000000..ffcff9c3 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 75ef447a4ba775b478d412887fb79c8c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants.meta new file mode 100644 index 00000000..fcc26598 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0863f1983a8a6214ca870fa5ba16dbf0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collider2DGameObjectConstantDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collider2DGameObjectConstantDrawer.cs new file mode 100644 index 00000000..6a7d3cb2 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collider2DGameObjectConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Constant property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DGameObjectConstant))] + public class Collider2DGameObjectConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collider2DGameObjectConstantDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collider2DGameObjectConstantDrawer.cs.meta new file mode 100644 index 00000000..5bf5e262 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collider2DGameObjectConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 70c5514515ba54b23b8f5406683d4990 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collision2DGameObjectConstantDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collision2DGameObjectConstantDrawer.cs new file mode 100644 index 00000000..0809222b --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collision2DGameObjectConstantDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Constant property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectConstant>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DGameObjectConstant))] + public class Collision2DGameObjectConstantDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collision2DGameObjectConstantDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collision2DGameObjectConstantDrawer.cs.meta new file mode 100644 index 00000000..bb6c1408 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Constants/Collision2DGameObjectConstantDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3b13db394f9f702458aae9688bcc7603 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events.meta new file mode 100644 index 00000000..590b8795 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 367cfb1d8f12f3f489593af4f62c1a9b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectEventDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectEventDrawer.cs new file mode 100644 index 00000000..87450bc9 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DGameObjectEvent))] + public class Collider2DGameObjectEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectEventDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectEventDrawer.cs.meta new file mode 100644 index 00000000..2ad13bdd --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e58bedb2bee1342508f332dd10f19925 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectPairEventDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectPairEventDrawer.cs new file mode 100644 index 00000000..1067d96c --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collider2DGameObjectPair`. Inherits from `AtomDrawer<Collider2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DGameObjectPairEvent))] + public class Collider2DGameObjectPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectPairEventDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectPairEventDrawer.cs.meta new file mode 100644 index 00000000..23cdb68a --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collider2DGameObjectPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 005ba66b6588043d4a6ff86fa75d6bd3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectEventDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectEventDrawer.cs new file mode 100644 index 00000000..e5e546fb --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DGameObjectEvent))] + public class Collision2DGameObjectEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectEventDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectEventDrawer.cs.meta new file mode 100644 index 00000000..b4eab038 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c4b33c3eedff3c748986f7008b8069a6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectPairEventDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectPairEventDrawer.cs new file mode 100644 index 00000000..e4f2511b --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectPairEventDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collision2DGameObjectPair`. Inherits from `AtomDrawer<Collision2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DGameObjectPairEvent))] + public class Collision2DGameObjectPairEventDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectPairEventDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectPairEventDrawer.cs.meta new file mode 100644 index 00000000..e68d83b6 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Events/Collision2DGameObjectPairEventDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e883595902f186f4a86dafdd2c9795e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists.meta new file mode 100644 index 00000000..a7ddcb82 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 61f7a819874b2874e8475284dc608157 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collider2DGameObjectValueListDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collider2DGameObjectValueListDrawer.cs new file mode 100644 index 00000000..5f06f0ae --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collider2DGameObjectValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Value List property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DGameObjectValueList))] + public class Collider2DGameObjectValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collider2DGameObjectValueListDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collider2DGameObjectValueListDrawer.cs.meta new file mode 100644 index 00000000..11b4542b --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collider2DGameObjectValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a3a1c1493e2df48bebab807841e72a82 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collision2DGameObjectValueListDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collision2DGameObjectValueListDrawer.cs new file mode 100644 index 00000000..9b6d89bb --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collision2DGameObjectValueListDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Value List property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectValueList>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DGameObjectValueList))] + public class Collision2DGameObjectValueListDrawer : AtomDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collision2DGameObjectValueListDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collision2DGameObjectValueListDrawer.cs.meta new file mode 100644 index 00000000..e1101b64 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/ValueLists/Collision2DGameObjectValueListDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 047259a442d10d345a6363d30198dfc1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables.meta new file mode 100644 index 00000000..bb40f884 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2e6cf2f4fcabe484e998cf0695bf9ee3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collider2DGameObjectVariableDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collider2DGameObjectVariableDrawer.cs new file mode 100644 index 00000000..00623940 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collider2DGameObjectVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable property drawer of type `Collider2DGameObject`. Inherits from `AtomDrawer<Collider2DGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collider2DGameObjectVariable))] + public class Collider2DGameObjectVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collider2DGameObjectVariableDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collider2DGameObjectVariableDrawer.cs.meta new file mode 100644 index 00000000..aa407477 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collider2DGameObjectVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 08b4b14f1d93c438faaef833f4b46bde +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collision2DGameObjectVariableDrawer.cs b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collision2DGameObjectVariableDrawer.cs new file mode 100644 index 00000000..6d480a0a --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collision2DGameObjectVariableDrawer.cs @@ -0,0 +1,13 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityAtoms.Editor; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable property drawer of type `Collision2DGameObject`. Inherits from `AtomDrawer<Collision2DGameObjectVariable>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomPropertyDrawer(typeof(Collision2DGameObjectVariable))] + public class Collision2DGameObjectVariableDrawer : VariableDrawer { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collision2DGameObjectVariableDrawer.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collision2DGameObjectVariableDrawer.cs.meta new file mode 100644 index 00000000..92a30596 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Drawers/Variables/Collision2DGameObjectVariableDrawer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 00088866227a2434fbd7297fb9202788 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors.meta b/Packages/MonoHooks/Physics2D/Editor/Editors.meta new file mode 100644 index 00000000..a40ac1cd --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bff564fe54e08d9429eb53475b516da8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Events.meta new file mode 100644 index 00000000..c2c53458 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 930aab7e43b746343ae9b332564c3e13 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectEventEditor.cs b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectEventEditor.cs new file mode 100644 index 00000000..c05d1bb1 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collider2DGameObject`. Inherits from `AtomEventEditor<Collider2DGameObject, Collider2DGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collider2DGameObjectEvent))] + public sealed class Collider2DGameObjectEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectEventEditor.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectEventEditor.cs.meta new file mode 100644 index 00000000..5f1ef329 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f1c4de5414ac249bcb59d7e857cba684 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectPairEventEditor.cs b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectPairEventEditor.cs new file mode 100644 index 00000000..847aa177 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collider2DGameObjectPair`. Inherits from `AtomEventEditor<Collider2DGameObjectPair, Collider2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collider2DGameObjectPairEvent))] + public sealed class Collider2DGameObjectPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectPairEventEditor.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectPairEventEditor.cs.meta new file mode 100644 index 00000000..5c4c9172 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collider2DGameObjectPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 48d0424b1b43c42bbaaf96c3e3be3b0a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectEventEditor.cs b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectEventEditor.cs new file mode 100644 index 00000000..c5eff0e7 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collision2DGameObject`. Inherits from `AtomEventEditor<Collision2DGameObject, Collision2DGameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collision2DGameObjectEvent))] + public sealed class Collision2DGameObjectEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectEventEditor.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectEventEditor.cs.meta new file mode 100644 index 00000000..35eb3190 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4085b380f31f42e4fb9b75367f686319 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectPairEventEditor.cs b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectPairEventEditor.cs new file mode 100644 index 00000000..c2505a52 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectPairEventEditor.cs @@ -0,0 +1,15 @@ +#if UNITY_2019_1_OR_NEWER +using UnityEditor; +using UnityEngine.UIElements; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Event property drawer of type `Collision2DGameObjectPair`. Inherits from `AtomEventEditor<Collision2DGameObjectPair, Collision2DGameObjectPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`. + /// + [CustomEditor(typeof(Collision2DGameObjectPairEvent))] + public sealed class Collision2DGameObjectPairEventEditor : AtomEventEditor { } +} +#endif diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectPairEventEditor.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectPairEventEditor.cs.meta new file mode 100644 index 00000000..d217f05d --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Events/Collision2DGameObjectPairEventEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e1d18c70fbad15d4099c7b744379e411 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Variables.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables.meta new file mode 100644 index 00000000..9046b1c8 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 43479f8aaf58cc542b3ef40f9b997a13 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collider2DGameObjectVariableEditor.cs b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collider2DGameObjectVariableEditor.cs new file mode 100644 index 00000000..0c73c861 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collider2DGameObjectVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable Inspector of type `Collider2DGameObject`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(Collider2DGameObjectVariable))] + public sealed class Collider2DGameObjectVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collider2DGameObjectVariableEditor.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collider2DGameObjectVariableEditor.cs.meta new file mode 100644 index 00000000..e4b57199 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collider2DGameObjectVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8959a93022c744cf79e2f51a81563f9a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collision2DGameObjectVariableEditor.cs b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collision2DGameObjectVariableEditor.cs new file mode 100644 index 00000000..cfe12c32 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collision2DGameObjectVariableEditor.cs @@ -0,0 +1,12 @@ +using UnityEditor; +using UnityAtoms.Editor; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks.Editor +{ + /// + /// Variable Inspector of type `Collision2DGameObject`. Inherits from `AtomVariableEditor` + /// + [CustomEditor(typeof(Collision2DGameObjectVariable))] + public sealed class Collision2DGameObjectVariableEditor : AtomVariableEditor { } +} diff --git a/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collision2DGameObjectVariableEditor.cs.meta b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collision2DGameObjectVariableEditor.cs.meta new file mode 100644 index 00000000..ab7c3c96 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/Editors/Variables/Collision2DGameObjectVariableEditor.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 70dc10b1e368e2549a475e5a885b68ee +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D.asmdef b/Packages/MonoHooks/Physics2D/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D.asmdef new file mode 100644 index 00000000..0587523d --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D.asmdef @@ -0,0 +1,32 @@ +{ + "name": "UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D", + "rootNamespace": "", + "references": [ + "GUID:b7b409260dafeb748a3231cd5056d94a", + "GUID:366baf501d38aa1438cb1f7561c5cf64", + "GUID:534b4b5256681834f9f3282072bdadfb", + "GUID:29492541a59d04a81b47a7f225e8a22d", + "GUID:87264ae76e36244ae9adf5b5fbf7ca19", + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:9bc48b3aaac2247dbad05ace2c2d11d7" + ], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS2D" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics2d", + "expression": "0", + "define": "UNITY_PHYSICS2D" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D.asmdef.meta b/Packages/MonoHooks/Physics2D/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D.asmdef.meta new file mode 100644 index 00000000..10f83183 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Editor/UnityAtoms.UnityAtomsMonoHooks.Editor.Physics2D.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0fa2c5171fbff5043b4510e689c48bac +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime.meta b/Packages/MonoHooks/Physics2D/Runtime.meta new file mode 100644 index 00000000..bfdc2c7f --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7b8fef34d7d26914f92eb78f00d79962 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions.meta new file mode 100644 index 00000000..99cfcff8 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8b29477d5a02faa40b3b4b5881b767eb +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectAction.cs b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectAction.cs new file mode 100644 index 00000000..2a0401cb --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `Collider2DGameObject`. Inherits from `AtomAction<Collider2DGameObject>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collider2DGameObjectAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectAction.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectAction.cs.meta new file mode 100644 index 00000000..64313b8e --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ffeb09a17ed524cfc804cfdac2b710f9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectPairAction.cs b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectPairAction.cs new file mode 100644 index 00000000..3a3aa9ec --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectPairAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `Collider2DGameObjectPair`. Inherits from `AtomAction<Collider2DGameObjectPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collider2DGameObjectPairAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectPairAction.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectPairAction.cs.meta new file mode 100644 index 00000000..0895ebc5 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collider2DGameObjectPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b1a4fc4c310584764bb354335e147684 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectAction.cs b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectAction.cs new file mode 100644 index 00000000..f88f44ef --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `Collision2DGameObject`. Inherits from `AtomAction<Collision2DGameObject>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collision2DGameObjectAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectAction.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectAction.cs.meta new file mode 100644 index 00000000..bd02d6f4 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4e003eaefc5948e40afc4b5be82fc3f9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectPairAction.cs b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectPairAction.cs new file mode 100644 index 00000000..e3495f7d --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectPairAction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Action of type `Collision2DGameObjectPair`. Inherits from `AtomAction<Collision2DGameObjectPair>`. + /// + [EditorIcon("atom-icon-purple")] + public abstract class Collision2DGameObjectPairAction : AtomAction { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectPairAction.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectPairAction.cs.meta new file mode 100644 index 00000000..16901c3c --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/Collision2DGameObjectPairAction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d6ea0cc40d79318449e31894fcf75e39 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue.meta new file mode 100644 index 00000000..8737fb1c --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e8cb76095ced66d4bb7a9cc8f8d0fbce +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollider2DGameObjectVariableValue.cs b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollider2DGameObjectVariableValue.cs new file mode 100644 index 00000000..96aa0b60 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollider2DGameObjectVariableValue.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Set variable value Action of type `Collider2DGameObject`. Inherits from `SetVariableValue<Collider2DGameObject, Collider2DGameObjectPair, Collider2DGameObjectVariable, Collider2DGameObjectConstant, Collider2DGameObjectReference, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/Collider2DGameObject", fileName = "SetCollider2DGameObjectVariableValue")] + public sealed class SetCollider2DGameObjectVariableValue : SetVariableValue< + Collider2DGameObject, + Collider2DGameObjectPair, + Collider2DGameObjectVariable, + Collider2DGameObjectConstant, + Collider2DGameObjectReference, + Collider2DGameObjectEvent, + Collider2DGameObjectPairEvent, + Collider2DGameObjectCollider2DGameObjectFunction, + Collider2DGameObjectVariableInstancer> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollider2DGameObjectVariableValue.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollider2DGameObjectVariableValue.cs.meta new file mode 100644 index 00000000..322a4c22 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollider2DGameObjectVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d30e00fc75df14f0aa124dec4ef19f92 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollision2DGameObjectVariableValue.cs b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollision2DGameObjectVariableValue.cs new file mode 100644 index 00000000..63b8cf13 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollision2DGameObjectVariableValue.cs @@ -0,0 +1,23 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Set variable value Action of type `Collision2DGameObject`. Inherits from `SetVariableValue<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectVariable, Collision2DGameObjectConstant, Collision2DGameObjectReference, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectVariableInstancer>`. + /// + [EditorIcon("atom-icon-purple")] + [CreateAssetMenu(menuName = "Unity Atoms/Actions/Set Variable Value/Collision2DGameObject", fileName = "SetCollision2DGameObjectVariableValue")] + public sealed class SetCollision2DGameObjectVariableValue : SetVariableValue< + Collision2DGameObject, + Collision2DGameObjectPair, + Collision2DGameObjectVariable, + Collision2DGameObjectConstant, + Collision2DGameObjectReference, + Collision2DGameObjectEvent, + Collision2DGameObjectPairEvent, + Collision2DGameObjectCollision2DGameObjectFunction, + Collision2DGameObjectVariableInstancer> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollision2DGameObjectVariableValue.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollision2DGameObjectVariableValue.cs.meta new file mode 100644 index 00000000..ed0059af --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Actions/SetVariableValue/SetCollision2DGameObjectVariableValue.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6ce8b5b98af2f3b439d7c68750a81d59 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 691a47ae9831344ce823cde932633810, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Conditions.meta b/Packages/MonoHooks/Physics2D/Runtime/Conditions.meta new file mode 100644 index 00000000..a19e64c4 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Conditions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 95a1491357624f94a9fe64a1f19d1c0a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collider2DGameObjectCondition.cs b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collider2DGameObjectCondition.cs new file mode 100644 index 00000000..8177f4bc --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collider2DGameObjectCondition.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Condition of type `Collider2DGameObject`. Inherits from `AtomCondition<Collider2DGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class Collider2DGameObjectCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collider2DGameObjectCondition.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collider2DGameObjectCondition.cs.meta new file mode 100644 index 00000000..db8c59a7 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collider2DGameObjectCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c1bf2de6da431b146a78450675b4b9ed +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collision2DGameObjectCondition.cs b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collision2DGameObjectCondition.cs new file mode 100644 index 00000000..40cfdde3 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collision2DGameObjectCondition.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Condition of type `Collision2DGameObject`. Inherits from `AtomCondition<Collision2DGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + public abstract class Collision2DGameObjectCondition : AtomCondition { } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collision2DGameObjectCondition.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collision2DGameObjectCondition.cs.meta new file mode 100644 index 00000000..1e262e12 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Conditions/Collision2DGameObjectCondition.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 748ccbf3626ccca43a879cc5d776e9bc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Constants.meta b/Packages/MonoHooks/Physics2D/Runtime/Constants.meta new file mode 100644 index 00000000..ac0654f2 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Constants.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f8924cfe94d87874589e44290bba1253 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Constants/Collider2DGameObjectConstant.cs b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collider2DGameObjectConstant.cs new file mode 100644 index 00000000..d6c6eb6a --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collider2DGameObjectConstant.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Constant of type `Collider2DGameObject`. Inherits from `AtomBaseVariable<Collider2DGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/Collider2DGameObject", fileName = "Collider2DGameObjectConstant")] + public sealed class Collider2DGameObjectConstant : AtomBaseVariable { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Constants/Collider2DGameObjectConstant.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collider2DGameObjectConstant.cs.meta new file mode 100644 index 00000000..2b5741a5 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collider2DGameObjectConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cce7a8eadd83745bd87ea3e321385779 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Constants/Collision2DGameObjectConstant.cs b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collision2DGameObjectConstant.cs new file mode 100644 index 00000000..266614f8 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collision2DGameObjectConstant.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Constant of type `Collision2DGameObject`. Inherits from `AtomBaseVariable<Collision2DGameObject>`. + /// + [EditorIcon("atom-icon-teal")] + [CreateAssetMenu(menuName = "Unity Atoms/Constants/Collision2DGameObject", fileName = "Collision2DGameObjectConstant")] + public sealed class Collision2DGameObjectConstant : AtomBaseVariable { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Constants/Collision2DGameObjectConstant.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collision2DGameObjectConstant.cs.meta new file mode 100644 index 00000000..34cecf94 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Constants/Collision2DGameObjectConstant.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4eb31ccd66c0d99469fd094a7225bf9a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 23addc7bff50048fc998a83818d12319, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers.meta b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers.meta new file mode 100644 index 00000000..70ed43ea --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 540961b893f12914ea1425d4fdccb600 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectEventInstancer.cs b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectEventInstancer.cs new file mode 100644 index 00000000..1eb16bf7 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `Collider2DGameObject`. Inherits from `AtomEventInstancer<Collider2DGameObject, Collider2DGameObjectEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collider2DGameObject Event Instancer")] + public class Collider2DGameObjectEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectEventInstancer.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectEventInstancer.cs.meta new file mode 100644 index 00000000..38e393ed --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d474360b635d5405abfb52688bfbe75c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectPairEventInstancer.cs b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectPairEventInstancer.cs new file mode 100644 index 00000000..0e966399 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectPairEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `Collider2DGameObjectPair`. Inherits from `AtomEventInstancer<Collider2DGameObjectPair, Collider2DGameObjectPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collider2DGameObjectPair Event Instancer")] + public class Collider2DGameObjectPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectPairEventInstancer.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectPairEventInstancer.cs.meta new file mode 100644 index 00000000..922cf281 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collider2DGameObjectPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e2019522052b546708403c30e59d77e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectEventInstancer.cs b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectEventInstancer.cs new file mode 100644 index 00000000..456783dc --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `Collision2DGameObject`. Inherits from `AtomEventInstancer<Collision2DGameObject, Collision2DGameObjectEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collision2DGameObject Event Instancer")] + public class Collision2DGameObjectEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectEventInstancer.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectEventInstancer.cs.meta new file mode 100644 index 00000000..48abb184 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 29cc46b4f3bce5b439e52a762fbc6c89 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectPairEventInstancer.cs b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectPairEventInstancer.cs new file mode 100644 index 00000000..c43b5884 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectPairEventInstancer.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Instancer of type `Collision2DGameObjectPair`. Inherits from `AtomEventInstancer<Collision2DGameObjectPair, Collision2DGameObjectPairEvent>`. + /// + [EditorIcon("atom-icon-sign-blue")] + [AddComponentMenu("Unity Atoms/Event Instancers/Collision2DGameObjectPair Event Instancer")] + public class Collision2DGameObjectPairEventInstancer : AtomEventInstancer { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectPairEventInstancer.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectPairEventInstancer.cs.meta new file mode 100644 index 00000000..54f247fd --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventInstancers/Collision2DGameObjectPairEventInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 59fadc1241c0b6449a7a303c1b73bd5a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 8c25ac30c7b7d4e3b90bed61d900d244, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners.meta new file mode 100644 index 00000000..68a4b9cf --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ef03c1ce84a28144d87c0b00311ed9ad +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectEventReferenceListener.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectEventReferenceListener.cs new file mode 100644 index 00000000..6825c9cf --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `Collider2DGameObject`. Inherits from `AtomEventReferenceListener<Collider2DGameObject, Collider2DGameObjectEvent, Collider2DGameObjectEventReference, Collider2DGameObjectUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collider2DGameObject Event Reference Listener")] + public sealed class Collider2DGameObjectEventReferenceListener : AtomEventReferenceListener< + Collider2DGameObject, + Collider2DGameObjectEvent, + Collider2DGameObjectEventReference, + Collider2DGameObjectUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectEventReferenceListener.cs.meta new file mode 100644 index 00000000..81ad5563 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f889191fe2d4e410a8951b9cd6e16848 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectPairEventReferenceListener.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectPairEventReferenceListener.cs new file mode 100644 index 00000000..7da01971 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectPairEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `Collider2DGameObjectPair`. Inherits from `AtomEventReferenceListener<Collider2DGameObjectPair, Collider2DGameObjectPairEvent, Collider2DGameObjectPairEventReference, Collider2DGameObjectPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collider2DGameObjectPair Event Reference Listener")] + public sealed class Collider2DGameObjectPairEventReferenceListener : AtomEventReferenceListener< + Collider2DGameObjectPair, + Collider2DGameObjectPairEvent, + Collider2DGameObjectPairEventReference, + Collider2DGameObjectPairUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectPairEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..5ee9f074 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collider2DGameObjectPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2928758849c094f1483dde660c045c64 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectEventReferenceListener.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectEventReferenceListener.cs new file mode 100644 index 00000000..c8cd3b29 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `Collision2DGameObject`. Inherits from `AtomEventReferenceListener<Collision2DGameObject, Collision2DGameObjectEvent, Collision2DGameObjectEventReference, Collision2DGameObjectUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collision2DGameObject Event Reference Listener")] + public sealed class Collision2DGameObjectEventReferenceListener : AtomEventReferenceListener< + Collision2DGameObject, + Collision2DGameObjectEvent, + Collision2DGameObjectEventReference, + Collision2DGameObjectUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectEventReferenceListener.cs.meta new file mode 100644 index 00000000..c2da98cc --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e1b68fde8c635bc4798db2da2c2ef09e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectPairEventReferenceListener.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectPairEventReferenceListener.cs new file mode 100644 index 00000000..02fa9c6c --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectPairEventReferenceListener.cs @@ -0,0 +1,17 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference Listener of type `Collision2DGameObjectPair`. Inherits from `AtomEventReferenceListener<Collision2DGameObjectPair, Collision2DGameObjectPairEvent, Collision2DGameObjectPairEventReference, Collision2DGameObjectPairUnityEvent>`. + /// + [EditorIcon("atom-icon-orange")] + [AddComponentMenu("Unity Atoms/Listeners/Collision2DGameObjectPair Event Reference Listener")] + public sealed class Collision2DGameObjectPairEventReferenceListener : AtomEventReferenceListener< + Collision2DGameObjectPair, + Collision2DGameObjectPairEvent, + Collision2DGameObjectPairEventReference, + Collision2DGameObjectPairUnityEvent> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectPairEventReferenceListener.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectPairEventReferenceListener.cs.meta new file mode 100644 index 00000000..52516f03 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferenceListeners/Collision2DGameObjectPairEventReferenceListener.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 36af240dbe527a24c9c34cd5cbfb31c6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 4aa7b99ae77d84884a0c0c0ce307792f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferences.meta new file mode 100644 index 00000000..f6480eae --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1b6bcbd31100a894aaed50d434166738 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectEventReference.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectEventReference.cs new file mode 100644 index 00000000..40edbb44 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `Collider2DGameObject`. Inherits from `AtomEventReference<Collider2DGameObject, Collider2DGameObjectVariable, Collider2DGameObjectEvent, Collider2DGameObjectVariableInstancer, Collider2DGameObjectEventInstancer>`. + /// + [Serializable] + public sealed class Collider2DGameObjectEventReference : AtomEventReference< + Collider2DGameObject, + Collider2DGameObjectVariable, + Collider2DGameObjectEvent, + Collider2DGameObjectVariableInstancer, + Collider2DGameObjectEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectEventReference.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectEventReference.cs.meta new file mode 100644 index 00000000..91f4b60c --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7649b558f418747f8ae51048eb821768 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectPairEventReference.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectPairEventReference.cs new file mode 100644 index 00000000..f5d3b6ee --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `Collider2DGameObjectPair`. Inherits from `AtomEventReference<Collider2DGameObjectPair, Collider2DGameObjectVariable, Collider2DGameObjectPairEvent, Collider2DGameObjectVariableInstancer, Collider2DGameObjectPairEventInstancer>`. + /// + [Serializable] + public sealed class Collider2DGameObjectPairEventReference : AtomEventReference< + Collider2DGameObjectPair, + Collider2DGameObjectVariable, + Collider2DGameObjectPairEvent, + Collider2DGameObjectVariableInstancer, + Collider2DGameObjectPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectPairEventReference.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectPairEventReference.cs.meta new file mode 100644 index 00000000..b205e1d8 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collider2DGameObjectPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 61d37a819bf6e41e695ae659a90fc553 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectEventReference.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectEventReference.cs new file mode 100644 index 00000000..bfee178a --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `Collision2DGameObject`. Inherits from `AtomEventReference<Collision2DGameObject, Collision2DGameObjectVariable, Collision2DGameObjectEvent, Collision2DGameObjectVariableInstancer, Collision2DGameObjectEventInstancer>`. + /// + [Serializable] + public sealed class Collision2DGameObjectEventReference : AtomEventReference< + Collision2DGameObject, + Collision2DGameObjectVariable, + Collision2DGameObjectEvent, + Collision2DGameObjectVariableInstancer, + Collision2DGameObjectEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectEventReference.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectEventReference.cs.meta new file mode 100644 index 00000000..6ca98d11 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 93172f2958cb6b34f830d4f391669a2a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectPairEventReference.cs b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectPairEventReference.cs new file mode 100644 index 00000000..5bd4e104 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectPairEventReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event Reference of type `Collision2DGameObjectPair`. Inherits from `AtomEventReference<Collision2DGameObjectPair, Collision2DGameObjectVariable, Collision2DGameObjectPairEvent, Collision2DGameObjectVariableInstancer, Collision2DGameObjectPairEventInstancer>`. + /// + [Serializable] + public sealed class Collision2DGameObjectPairEventReference : AtomEventReference< + Collision2DGameObjectPair, + Collision2DGameObjectVariable, + Collision2DGameObjectPairEvent, + Collision2DGameObjectVariableInstancer, + Collision2DGameObjectPairEventInstancer>, IGetEvent + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectPairEventReference.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectPairEventReference.cs.meta new file mode 100644 index 00000000..050509f5 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/EventReferences/Collision2DGameObjectPairEventReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6809a9898ea6cf04c8cf79381abe7d59 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events.meta b/Packages/MonoHooks/Physics2D/Runtime/Events.meta new file mode 100644 index 00000000..8ac03189 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 01ee4c652d004f54c901a2e9125f5c51 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectEvent.cs new file mode 100644 index 00000000..9caf0716 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `Collider2DGameObject`. Inherits from `AtomEvent<Collider2DGameObject>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collider2DGameObject", fileName = "Collider2DGameObjectEvent")] + public sealed class Collider2DGameObjectEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectEvent.cs.meta new file mode 100644 index 00000000..68131e69 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 748debdf12d35462cb50690d7c6427e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectPairEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectPairEvent.cs new file mode 100644 index 00000000..945f81f8 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectPairEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `Collider2DGameObjectPair`. Inherits from `AtomEvent<Collider2DGameObjectPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collider2DGameObjectPair", fileName = "Collider2DGameObjectPairEvent")] + public sealed class Collider2DGameObjectPairEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectPairEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectPairEvent.cs.meta new file mode 100644 index 00000000..f67bdba1 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collider2DGameObjectPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 30c518b66ace64ce3a77e9eccbdb0042 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectEvent.cs new file mode 100644 index 00000000..79876375 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `Collision2DGameObject`. Inherits from `AtomEvent<Collision2DGameObject>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collision2DGameObject", fileName = "Collision2DGameObjectEvent")] + public sealed class Collision2DGameObjectEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectEvent.cs.meta new file mode 100644 index 00000000..76ef3b2e --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d7e0d14e3b3354045a54bc7b5d670d95 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectPairEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectPairEvent.cs new file mode 100644 index 00000000..92511de8 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectPairEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Event of type `Collision2DGameObjectPair`. Inherits from `AtomEvent<Collision2DGameObjectPair>`. + /// + [EditorIcon("atom-icon-cherry")] + [CreateAssetMenu(menuName = "Unity Atoms/Events/Collision2DGameObjectPair", fileName = "Collision2DGameObjectPairEvent")] + public sealed class Collision2DGameObjectPairEvent : AtomEvent + { + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectPairEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectPairEvent.cs.meta new file mode 100644 index 00000000..f5f91d23 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Events/Collision2DGameObjectPairEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 591132e13c2cea94aba13d1288b5c76a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 333451eee108e4d7db97109b760ff3ce, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Functions.meta b/Packages/MonoHooks/Physics2D/Runtime/Functions.meta new file mode 100644 index 00000000..a44ef919 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Functions.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ea3dc3b8c7dff824b8a1d67af02e00b2 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Functions/Collider2DGameObjectCollider2DGameObjectFunction.cs b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collider2DGameObjectCollider2DGameObjectFunction.cs new file mode 100644 index 00000000..aa30c21b --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collider2DGameObjectCollider2DGameObjectFunction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Function x 2 of type `Collider2DGameObject`. Inherits from `AtomFunction<Collider2DGameObject, Collider2DGameObject>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class Collider2DGameObjectCollider2DGameObjectFunction : AtomFunction { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Functions/Collider2DGameObjectCollider2DGameObjectFunction.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collider2DGameObjectCollider2DGameObjectFunction.cs.meta new file mode 100644 index 00000000..ef6e93c0 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collider2DGameObjectCollider2DGameObjectFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 81c4883c042034c048f2c59a34ae289d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Functions/Collision2DGameObjectCollision2DGameObjectFunction.cs b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collision2DGameObjectCollision2DGameObjectFunction.cs new file mode 100644 index 00000000..b799fe56 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collision2DGameObjectCollision2DGameObjectFunction.cs @@ -0,0 +1,9 @@ +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// Function x 2 of type `Collision2DGameObject`. Inherits from `AtomFunction<Collision2DGameObject, Collision2DGameObject>`. + /// + [EditorIcon("atom-icon-sand")] + public abstract class Collision2DGameObjectCollision2DGameObjectFunction : AtomFunction { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Functions/Collision2DGameObjectCollision2DGameObjectFunction.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collision2DGameObjectCollision2DGameObjectFunction.cs.meta new file mode 100644 index 00000000..3d4b5daf --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Functions/Collision2DGameObjectCollision2DGameObjectFunction.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b16b0f346d71f0a4fbc4ef5fae7578d9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: e2efb28248b7f4ac78cc0df9b2fb600f, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks.meta b/Packages/MonoHooks/Physics2D/Runtime/Hooks.meta new file mode 100644 index 00000000..f4e61e06 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 9b5bd7d9a5a37ab40a667ba7f54db745 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collider2DHook.cs b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collider2DHook.cs new file mode 100644 index 00000000..07e6e474 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collider2DHook.cs @@ -0,0 +1,42 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Base class for all `MonoHook`s of type `Collider2D`. + /// + [EditorIcon("atom-icon-delicate")] + public abstract class Collider2DHook : MonoHook< + Collider2DEvent, + Collider2D, + Collider2DEventReference, + GameObjectGameObjectFunction> + { + /// + /// Event including a GameObject reference. + /// + public Collider2DGameObjectEvent EventWithGameObject + { + get => _eventWithGameObjectReference != null ? _eventWithGameObjectReference.GetEvent() : null; + set + { + if (_eventWithGameObjectReference != null) + { + _eventWithGameObjectReference.SetEvent(value); + } + } + } + + [SerializeField] + private Collider2DGameObjectEventReference _eventWithGameObjectReference = default(Collider2DGameObjectEventReference); + + protected override void RaiseWithGameObject(Collider2D value, GameObject gameObject) + { + if (EventWithGameObject) + { + EventWithGameObject.Raise(new Collider2DGameObject() { Collider2D = value, GameObject = gameObject }); + } + } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collider2DHook.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collider2DHook.cs.meta new file mode 100644 index 00000000..a487b574 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collider2DHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b925bfe8baf404203b5fe70d801b647b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collision2DHook.cs b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collision2DHook.cs new file mode 100644 index 00000000..92174a28 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collision2DHook.cs @@ -0,0 +1,42 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Base class for all `MonoHook`s of type `Collision2D`. + /// + [EditorIcon("atom-icon-delicate")] + public abstract class Collision2DHook : MonoHook< + Collision2DEvent, + Collision2D, + Collision2DEventReference, + GameObjectGameObjectFunction> + { + /// + /// Event including a GameObject reference. + /// + public Collision2DGameObjectEvent EventWithGameObject + { + get => _eventWithGameObjectReference != null ? _eventWithGameObjectReference.GetEvent() : null; + set + { + if(_eventWithGameObjectReference != null) + { + _eventWithGameObjectReference.SetEvent(value); + } + } + } + + [SerializeField] + private Collision2DGameObjectEventReference _eventWithGameObjectReference = default(Collision2DGameObjectEventReference); + + protected override void RaiseWithGameObject(Collision2D value, GameObject gameObject) + { + if(EventWithGameObject) + { + EventWithGameObject.Raise(new Collision2DGameObject() { Collision2D = value, GameObject = gameObject }); + } + } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collision2DHook.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collision2DHook.cs.meta new file mode 100644 index 00000000..7f3a52d2 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/Collision2DHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 651a967537fc44843bfd4389dc8eed72 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnCollision2DHook.cs b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnCollision2DHook.cs new file mode 100644 index 00000000..c1ec51ca --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnCollision2DHook.cs @@ -0,0 +1,43 @@ +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + /// + /// 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) + /// + [EditorIcon("atom-icon-delicate")] + [AddComponentMenu("Unity Atoms/Hooks/On Collision 2D Hook")] + public sealed class OnCollision2DHook : Collision2DHook + { + /// + /// Set to true if Event should be triggered on `OnCollisionEnter2D` + /// + [SerializeField] + private bool _collisionOnEnter = default(bool); + /// + /// Set to true if Event should be triggered on `OnCollisionExit2D` + /// + [SerializeField] + private bool _collisionOnExit = default(bool); + /// + /// Set to true if Event should be triggered on `OnCollisionStay2D` + /// + [SerializeField] + private bool _collisionOnStay = default(bool); + + private void OnCollisionEnter2D(Collision2D other) + { + if(_collisionOnEnter) OnHook(other); + } + + private void OnCollisionExit2D(Collision2D other) + { + if(_collisionOnExit) OnHook(other); + } + + private void OnCollisionStay2D(Collision2D other) + { + if(_collisionOnStay) OnHook(other); + } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnCollision2DHook.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnCollision2DHook.cs.meta new file mode 100644 index 00000000..3d4e7ae6 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnCollision2DHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: abb80085165e1fd45a550d1f376b8589 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnTrigger2DHook.cs b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnTrigger2DHook.cs new file mode 100644 index 00000000..379dcc85 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnTrigger2DHook.cs @@ -0,0 +1,43 @@ +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Mono Hook for [`OnTriggerEnter2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter2D.html), [`OnTriggerExit2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerExit2D.html) and [`OnTriggerStay2D`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerStay2D.html) + /// + [EditorIcon("atom-icon-delicate")] + [AddComponentMenu("Unity Atoms/Hooks/On Trigger 2D Hook")] + public sealed class OnTrigger2DHook : Collider2DHook + { + /// + /// Set to true if Event should be triggered on `OnTriggerEnter2D` + /// + [SerializeField] + private bool _triggerOnEnter = default(bool); + /// + /// Set to true if Event should be triggered on `OnTriggerExit2D` + /// + [SerializeField] + private bool _triggerOnExit = default(bool); + /// + /// Set to true if Event should be triggered on `OnTriggerStay2D` + /// + [SerializeField] + private bool _triggerOnStay = default(bool); + + private void OnTriggerEnter2D(Collider2D other) + { + if (_triggerOnEnter) OnHook(other); + } + + private void OnTriggerExit2D(Collider2D other) + { + if (_triggerOnExit) OnHook(other); + } + + private void OnTriggerStay2D(Collider2D other) + { + if (_triggerOnStay) OnHook(other); + } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnTrigger2DHook.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnTrigger2DHook.cs.meta new file mode 100644 index 00000000..5f0e8dd9 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Hooks/OnTrigger2DHook.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d6b2ba18c3f8e4b409ccb9db0bcd4ce5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Pairs.meta b/Packages/MonoHooks/Physics2D/Runtime/Pairs.meta new file mode 100644 index 00000000..00c9d145 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Pairs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dd361a6f70f34b949b7250389abb7237 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collider2DGameObjectPair.cs b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collider2DGameObjectPair.cs new file mode 100644 index 00000000..86cd06f0 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collider2DGameObjectPair.cs @@ -0,0 +1,22 @@ +using System; +using UnityEngine; +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// IPair of type `<Collider2DGameObject>`. Inherits from `IPair<Collider2DGameObject>`. + /// + [Serializable] + public struct Collider2DGameObjectPair : IPair + { + public Collider2DGameObject Item1 { get => _item1; set => _item1 = value; } + public Collider2DGameObject Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private Collider2DGameObject _item1; + [SerializeField] + private Collider2DGameObject _item2; + + public void Deconstruct(out Collider2DGameObject item1, out Collider2DGameObject item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collider2DGameObjectPair.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collider2DGameObjectPair.cs.meta new file mode 100644 index 00000000..7b86f04e --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collider2DGameObjectPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cbd596de4e0ae47f29fb82957f6174ea +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collision2DGameObjectPair.cs b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collision2DGameObjectPair.cs new file mode 100644 index 00000000..50e39f43 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collision2DGameObjectPair.cs @@ -0,0 +1,22 @@ +using System; +using UnityEngine; +using UnityAtoms.MonoHooks; +namespace UnityAtoms.MonoHooks +{ + /// + /// IPair of type `<Collision2DGameObject>`. Inherits from `IPair<Collision2DGameObject>`. + /// + [Serializable] + public struct Collision2DGameObjectPair : IPair + { + public Collision2DGameObject Item1 { get => _item1; set => _item1 = value; } + public Collision2DGameObject Item2 { get => _item2; set => _item2 = value; } + + [SerializeField] + private Collision2DGameObject _item1; + [SerializeField] + private Collision2DGameObject _item2; + + public void Deconstruct(out Collision2DGameObject item1, out Collision2DGameObject item2) { item1 = Item1; item2 = Item2; } + } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collision2DGameObjectPair.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collision2DGameObjectPair.cs.meta new file mode 100644 index 00000000..f3637b13 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Pairs/Collision2DGameObjectPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4cbd4da318fbc654c80d4b6c8f08db2e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/References.meta b/Packages/MonoHooks/Physics2D/Runtime/References.meta new file mode 100644 index 00000000..1f10d495 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/References.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 053c021dfcc4e28408afbdae8982f660 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/References/Collider2DGameObjectReference.cs b/Packages/MonoHooks/Physics2D/Runtime/References/Collider2DGameObjectReference.cs new file mode 100644 index 00000000..2413c3e9 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/References/Collider2DGameObjectReference.cs @@ -0,0 +1,25 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Reference of type `Collider2DGameObject`. Inherits from `EquatableAtomReference<Collider2DGameObject, Collider2DGameObjectPair, Collider2DGameObjectConstant, Collider2DGameObjectVariable, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectCollider2DGameObjectFunction, Collider2DGameObjectVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class Collider2DGameObjectReference : EquatableAtomReference< + Collider2DGameObject, + Collider2DGameObjectPair, + Collider2DGameObjectConstant, + Collider2DGameObjectVariable, + Collider2DGameObjectEvent, + Collider2DGameObjectPairEvent, + Collider2DGameObjectCollider2DGameObjectFunction, + Collider2DGameObjectVariableInstancer>, IEquatable + { + public Collider2DGameObjectReference() : base() { } + public Collider2DGameObjectReference(Collider2DGameObject value) : base(value) { } + public bool Equals(Collider2DGameObjectReference other) { return base.Equals(other); } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/References/Collider2DGameObjectReference.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/References/Collider2DGameObjectReference.cs.meta new file mode 100644 index 00000000..9d63c997 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/References/Collider2DGameObjectReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f6be7cbcb25ea46ea9bd9915dec9a9e7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/References/Collision2DGameObjectReference.cs b/Packages/MonoHooks/Physics2D/Runtime/References/Collision2DGameObjectReference.cs new file mode 100644 index 00000000..d26abbd0 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/References/Collision2DGameObjectReference.cs @@ -0,0 +1,25 @@ +using System; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Reference of type `Collision2DGameObject`. Inherits from `EquatableAtomReference<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectConstant, Collision2DGameObjectVariable, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectCollision2DGameObjectFunction, Collision2DGameObjectVariableInstancer, AtomCollection, AtomList>`. + /// + [Serializable] + public sealed class Collision2DGameObjectReference : EquatableAtomReference< + Collision2DGameObject, + Collision2DGameObjectPair, + Collision2DGameObjectConstant, + Collision2DGameObjectVariable, + Collision2DGameObjectEvent, + Collision2DGameObjectPairEvent, + Collision2DGameObjectCollision2DGameObjectFunction, + Collision2DGameObjectVariableInstancer>, IEquatable + { + public Collision2DGameObjectReference() : base() { } + public Collision2DGameObjectReference(Collision2DGameObject value) : base(value) { } + public bool Equals(Collision2DGameObjectReference other) { return base.Equals(other); } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/References/Collision2DGameObjectReference.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/References/Collision2DGameObjectReference.cs.meta new file mode 100644 index 00000000..ef537714 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/References/Collision2DGameObjectReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: dbe7a6ca237a78c40b7ef1414dd8ed72 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection.meta b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection.meta new file mode 100644 index 00000000..30728ba5 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3d498c05e32bc484c92fea57f4c16663 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollider2DGameObjectVariableInstancerToCollection.cs b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollider2DGameObjectVariableInstancerToCollection.cs new file mode 100644 index 00000000..eb1d6a09 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollider2DGameObjectVariableInstancerToCollection.cs @@ -0,0 +1,13 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Adds Variable Instancer's Variable of type Collider2DGameObject to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collider2DGameObject Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncCollider2DGameObjectVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollider2DGameObjectVariableInstancerToCollection.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollider2DGameObjectVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..9894526d --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollider2DGameObjectVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ec40bfabc10254768947e2748b790283 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollision2DGameObjectVariableInstancerToCollection.cs b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollision2DGameObjectVariableInstancerToCollection.cs new file mode 100644 index 00000000..3e98e387 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollision2DGameObjectVariableInstancerToCollection.cs @@ -0,0 +1,13 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Adds Variable Instancer's Variable of type Collision2DGameObject to a Collection or List on OnEnable and removes it on OnDestroy. + /// + [AddComponentMenu("Unity Atoms/Sync Variable Instancer to Collection/Sync Collision2DGameObject Variable Instancer to Collection")] + [EditorIcon("atom-icon-delicate")] + public class SyncCollision2DGameObjectVariableInstancerToCollection : SyncVariableInstancerToCollection { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollision2DGameObjectVariableInstancerToCollection.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollision2DGameObjectVariableInstancerToCollection.cs.meta new file mode 100644 index 00000000..586d87af --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/SyncVariableInstancerToCollection/SyncCollision2DGameObjectVariableInstancerToCollection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3f763296afccd0748a6253a64972b311 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: c3c99b8d76418472cb0261944ff3deb8, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Types.meta b/Packages/MonoHooks/Physics2D/Runtime/Types.meta new file mode 100644 index 00000000..456f4546 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Types.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 46b7a99934ba11a4199dca9b933b8641 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Types/Collider2DGameObject.cs b/Packages/MonoHooks/Physics2D/Runtime/Types/Collider2DGameObject.cs new file mode 100644 index 00000000..be7129cd --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Types/Collider2DGameObject.cs @@ -0,0 +1,75 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + [Serializable] + public struct Collider2DGameObject : IEquatable + { + public Collider2D Collider2D { get => _collider2D; set => _collider2D = value; } + public GameObject GameObject { get => _gameObject; set => _gameObject = value; } + + + [SerializeField] + private Collider2D _collider2D; + + [SerializeField] + private GameObject _gameObject; + + + /// + /// Determine if 2 `Collider2DGameObject` are equal. + /// + /// The other `Collider2DGameObject` to compare with. + /// `true` if equal, otherwise `false`. + public bool Equals(Collider2DGameObject other) + { + return this.Collider2D == other.Collider2D && this.GameObject == other.GameObject; + } + + /// + /// Determine if 2 `Collider2DGameObject` are equal comparing against another `object`. + /// + /// The other `object` to compare with. + /// `true` if equal, otherwise `false`. + public override bool Equals(object obj) + { + Collider2DGameObject cgo = (Collider2DGameObject)obj; + return Equals(cgo); + } + + /// + /// `GetHashCode()` in order to implement `IEquatable<Collider2DGameObject>` + /// + /// An unique hashcode for the current value. + public override int GetHashCode() + { + var hash = 17; + hash = hash * 23 + this.Collider2D.GetHashCode(); + hash = hash * 23 + this.GameObject.GetHashCode(); + return hash; + } + + /// + /// Equality operator + /// + /// First `Collider2DGameObject`. + /// Other `Collider2DGameObject`. + /// `true` if equal, otherwise `false`. + public static bool operator ==(Collider2DGameObject first, Collider2DGameObject second) + { + return first.Equals(second); + } + + /// + /// Inequality operator + /// + /// First `Collider2DGameObject`. + /// Other `Collider2DGameObject`. + /// `true` if they are not equal, otherwise `false`. + public static bool operator !=(Collider2DGameObject first, Collider2DGameObject second) + { + return !first.Equals(second); + } + } +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Runtime/Types/Collider2DGameObject.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Types/Collider2DGameObject.cs.meta new file mode 100644 index 00000000..ff62aaa2 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Types/Collider2DGameObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b334c106e654d451c8e0ed973339a259 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Types/Collision2DGameObject.cs b/Packages/MonoHooks/Physics2D/Runtime/Types/Collision2DGameObject.cs new file mode 100644 index 00000000..2a9cce1f --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Types/Collision2DGameObject.cs @@ -0,0 +1,75 @@ +using System; +using UnityEngine; + +namespace UnityAtoms.MonoHooks +{ + [Serializable] + public struct Collision2DGameObject : IEquatable + { + public Collision2D Collision2D { get => _collision2D; set => _collision2D = value; } + public GameObject GameObject { get => _gameObject; set => _gameObject = value; } + + + [SerializeField] + private Collision2D _collision2D; + + [SerializeField] + private GameObject _gameObject; + + + /// + /// Determine if 2 `Collider2DGameObject` are equal. + /// + /// The other `Collider2DGameObject` to compare with. + /// `true` if equal, otherwise `false`. + public bool Equals(Collision2DGameObject other) + { + return this.Collision2D == other.Collision2D && this.GameObject == other.GameObject; + } + + /// + /// Determine if 2 `Collider2DGameObject` are equal comparing against another `object`. + /// + /// The other `object` to compare with. + /// `true` if equal, otherwise `false`. + public override bool Equals(object obj) + { + Collision2DGameObject cgo = (Collision2DGameObject)obj; + return Equals(cgo); + } + + /// + /// `GetHashCode()` in order to implement `IEquatable<Collider2DGameObject>` + /// + /// An unique hashcode for the current value. + public override int GetHashCode() + { + var hash = 17; + hash = hash * 23 + this.Collision2D.GetHashCode(); + hash = hash * 23 + this.GameObject.GetHashCode(); + return hash; + } + + /// + /// Equality operator + /// + /// First `Collider2DGameObject`. + /// Other `Collider2DGameObject`. + /// `true` if equal, otherwise `false`. + public static bool operator ==(Collision2DGameObject first, Collision2DGameObject second) + { + return first.Equals(second); + } + + /// + /// Inequality operator + /// + /// First `Collider2DGameObject`. + /// Other `Collider2DGameObject`. + /// `true` if they are not equal, otherwise `false`. + public static bool operator !=(Collision2DGameObject first, Collision2DGameObject second) + { + return !first.Equals(second); + } + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Types/Collision2DGameObject.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Types/Collision2DGameObject.cs.meta new file mode 100644 index 00000000..b8e9ea88 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Types/Collision2DGameObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b93247e0223af0646a1f94ea917da7bf +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D.asmdef b/Packages/MonoHooks/Physics2D/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D.asmdef new file mode 100644 index 00000000..f8629505 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D.asmdef @@ -0,0 +1,27 @@ +{ + "name": "UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D", + "rootNamespace": "", + "references": [ + "GUID:14165214884ae4a619bfb290f28194a7", + "GUID:39d90d64ded314c27a72b2586cd86439", + "GUID:29492541a59d04a81b47a7f225e8a22d", + "GUID:366baf501d38aa1438cb1f7561c5cf64" + ], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [ + "UNITY_PHYSICS2D" + ], + "versionDefines": [ + { + "name": "com.unity.modules.physics2d", + "expression": "0", + "define": "UNITY_PHYSICS2D" + } + ], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D.asmdef.meta b/Packages/MonoHooks/Physics2D/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D.asmdef.meta new file mode 100644 index 00000000..e206b5f4 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityAtoms.UnityAtomsMonoHooks.Runtime.Physics2D.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b7b409260dafeb748a3231cd5056d94a +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents.meta b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents.meta new file mode 100644 index 00000000..ae7390ae --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 997d74d391d4aba4a936995438c15dee +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectPairUnityEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectPairUnityEvent.cs new file mode 100644 index 00000000..c79be781 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `Collider2DGameObjectPair`. Inherits from `UnityEvent<Collider2DGameObjectPair>`. + /// + [Serializable] + public sealed class Collider2DGameObjectPairUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectPairUnityEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectPairUnityEvent.cs.meta new file mode 100644 index 00000000..970e8ff4 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d3c87030e9d2f4583801218d2b9b4054 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectUnityEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectUnityEvent.cs new file mode 100644 index 00000000..18c7a0bb --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `Collider2DGameObject`. Inherits from `UnityEvent<Collider2DGameObject>`. + /// + [Serializable] + public sealed class Collider2DGameObjectUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectUnityEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectUnityEvent.cs.meta new file mode 100644 index 00000000..3c6daa2b --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collider2DGameObjectUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ba3e1098c74984f44beb14961d2c4fd3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectPairUnityEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectPairUnityEvent.cs new file mode 100644 index 00000000..a3860181 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectPairUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `Collision2DGameObjectPair`. Inherits from `UnityEvent<Collision2DGameObjectPair>`. + /// + [Serializable] + public sealed class Collision2DGameObjectPairUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectPairUnityEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectPairUnityEvent.cs.meta new file mode 100644 index 00000000..d550fc55 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectPairUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 50869c69e727a87438d66dace38730c3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectUnityEvent.cs b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectUnityEvent.cs new file mode 100644 index 00000000..a021c88a --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectUnityEvent.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine.Events; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// None generic Unity Event of type `Collision2DGameObject`. Inherits from `UnityEvent<Collision2DGameObject>`. + /// + [Serializable] + public sealed class Collision2DGameObjectUnityEvent : UnityEvent { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectUnityEvent.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectUnityEvent.cs.meta new file mode 100644 index 00000000..143d5e95 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/UnityEvents/Collision2DGameObjectUnityEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ddc1228a6a3c35840bb9f441030f17cf +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/ValueLists.meta b/Packages/MonoHooks/Physics2D/Runtime/ValueLists.meta new file mode 100644 index 00000000..01b5a1a3 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/ValueLists.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8924aa437f35c5e44a9b239099a064fc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collider2DGameObjectValueList.cs b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collider2DGameObjectValueList.cs new file mode 100644 index 00000000..85fa2d84 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collider2DGameObjectValueList.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Value List of type `Collider2DGameObject`. Inherits from `AtomValueList<Collider2DGameObject, Collider2DGameObjectEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/Collider2DGameObject", fileName = "Collider2DGameObjectValueList")] + public sealed class Collider2DGameObjectValueList : AtomValueList { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collider2DGameObjectValueList.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collider2DGameObjectValueList.cs.meta new file mode 100644 index 00000000..790732c5 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collider2DGameObjectValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 56db4f7b2d7dc41628e49b5e873c2f77 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collision2DGameObjectValueList.cs b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collision2DGameObjectValueList.cs new file mode 100644 index 00000000..83cd8afd --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collision2DGameObjectValueList.cs @@ -0,0 +1,12 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Value List of type `Collision2DGameObject`. Inherits from `AtomValueList<Collision2DGameObject, Collision2DGameObjectEvent>`. + /// + [EditorIcon("atom-icon-piglet")] + [CreateAssetMenu(menuName = "Unity Atoms/Value Lists/Collision2DGameObject", fileName = "Collision2DGameObjectValueList")] + public sealed class Collision2DGameObjectValueList : AtomValueList { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collision2DGameObjectValueList.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collision2DGameObjectValueList.cs.meta new file mode 100644 index 00000000..ef73d116 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/ValueLists/Collision2DGameObjectValueList.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3525a7f804059a742968699b6bbbe66b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: bc53625d5bb0948c6bdb92877cdd36a1, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers.meta b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers.meta new file mode 100644 index 00000000..fa53607b --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6cde8f5ee84139e47a4edf6f9a35b879 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collider2DGameObjectVariableInstancer.cs b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collider2DGameObjectVariableInstancer.cs new file mode 100644 index 00000000..125673d4 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collider2DGameObjectVariableInstancer.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable Instancer of type `Collider2DGameObject`. Inherits from `AtomVariableInstancer<Collider2DGameObjectVariable, Collider2DGameObjectPair, Collider2DGameObject, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectCollider2DGameObjectFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/Collider2DGameObject Variable Instancer")] + public class Collider2DGameObjectVariableInstancer : AtomVariableInstancer< + Collider2DGameObjectVariable, + Collider2DGameObjectPair, + Collider2DGameObject, + Collider2DGameObjectEvent, + Collider2DGameObjectPairEvent, + Collider2DGameObjectCollider2DGameObjectFunction> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collider2DGameObjectVariableInstancer.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collider2DGameObjectVariableInstancer.cs.meta new file mode 100644 index 00000000..08a938d1 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collider2DGameObjectVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2fe62ef76209d4482a3754632f58c1e6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collision2DGameObjectVariableInstancer.cs b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collision2DGameObjectVariableInstancer.cs new file mode 100644 index 00000000..705ddbdb --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collision2DGameObjectVariableInstancer.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using UnityAtoms.BaseAtoms; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable Instancer of type `Collision2DGameObject`. Inherits from `AtomVariableInstancer<Collision2DGameObjectVariable, Collision2DGameObjectPair, Collision2DGameObject, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectCollision2DGameObjectFunction>`. + /// + [EditorIcon("atom-icon-hotpink")] + [AddComponentMenu("Unity Atoms/Variable Instancers/Collision2DGameObject Variable Instancer")] + public class Collision2DGameObjectVariableInstancer : AtomVariableInstancer< + Collision2DGameObjectVariable, + Collision2DGameObjectPair, + Collision2DGameObject, + Collision2DGameObjectEvent, + Collision2DGameObjectPairEvent, + Collision2DGameObjectCollision2DGameObjectFunction> + { } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collision2DGameObjectVariableInstancer.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collision2DGameObjectVariableInstancer.cs.meta new file mode 100644 index 00000000..fbac82ae --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/VariableInstancers/Collision2DGameObjectVariableInstancer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 249e7bafba2bee64a99854f7c1001365 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: f4c59e5c7eed94aefa9f60ed1e800dfb, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Variables.meta b/Packages/MonoHooks/Physics2D/Runtime/Variables.meta new file mode 100644 index 00000000..6283282c --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Variables.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 59108df0288c8e147af4da69ca627ae0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Variables/Collider2DGameObjectVariable.cs b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collider2DGameObjectVariable.cs new file mode 100644 index 00000000..e53066be --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collider2DGameObjectVariable.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable of type `Collider2DGameObject`. Inherits from `EquatableAtomVariable<Collider2DGameObject, Collider2DGameObjectPair, Collider2DGameObjectEvent, Collider2DGameObjectPairEvent, Collider2DGameObjectCollider2DGameObjectFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collider2DGameObject", fileName = "Collider2DGameObjectVariable")] + public sealed class Collider2DGameObjectVariable : EquatableAtomVariable + { + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Variables/Collider2DGameObjectVariable.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collider2DGameObjectVariable.cs.meta new file mode 100644 index 00000000..8fc36446 --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collider2DGameObjectVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2dbf72ab8ccfe45619dc5d2841444af3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/MonoHooks/Physics2D/Runtime/Variables/Collision2DGameObjectVariable.cs b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collision2DGameObjectVariable.cs new file mode 100644 index 00000000..7651f82e --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collision2DGameObjectVariable.cs @@ -0,0 +1,14 @@ +using UnityEngine; +using UnityAtoms.MonoHooks; + +namespace UnityAtoms.MonoHooks +{ + /// + /// Variable of type `Collision2DGameObject`. Inherits from `EquatableAtomVariable<Collision2DGameObject, Collision2DGameObjectPair, Collision2DGameObjectEvent, Collision2DGameObjectPairEvent, Collision2DGameObjectCollision2DGameObjectFunction>`. + /// + [EditorIcon("atom-icon-lush")] + [CreateAssetMenu(menuName = "Unity Atoms/Variables/Collision2DGameObject", fileName = "Collision2DGameObjectVariable")] + public sealed class Collision2DGameObjectVariable : EquatableAtomVariable + { + } +} diff --git a/Packages/MonoHooks/Physics2D/Runtime/Variables/Collision2DGameObjectVariable.cs.meta b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collision2DGameObjectVariable.cs.meta new file mode 100644 index 00000000..187ec6be --- /dev/null +++ b/Packages/MonoHooks/Physics2D/Runtime/Variables/Collision2DGameObjectVariable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aaabd6fd08a4b5748bf7ed93a2b0a2d9 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 2800000, guid: 1798e4d578f5041ed87517e6b4e51bd0, type: 3} + userData: + assetBundleName: + assetBundleVariant: