--- id: unityatoms.baseatoms title: UnityAtoms.BaseAtoms hide_title: true sidebar_label: UnityAtoms.BaseAtoms --- # Namespace - `UnityAtoms.BaseAtoms` ## `VoidListener` The most basic Listener. Can use every type of AtomEvent but doesn't support its value. Inherits from `AtomBaseListener` and implements `IAtomListener`. ### Variables #### `_event` The Event that we are listening to. --- #### `_unityEventResponse` The Unity Event responses. NOTE: This variable is public due to this bug: https://issuetracker.unity3d.com/issues/events-generated-by-the-player-input-component-do-not-have-callbackcontext-set-as-their-parameter-type. Will be changed back to private when fixed (this could happen in a none major update). --- #### `_actionResponses` The Action responses; ### Properties #### `Event` The Event we are listening for as a property. ### Methods #### `OnEventRaised` Handler for when the Event gets raised. --- ## `AtomBaseVariableEventListener` Event Listener of type `AtomBaseVariable`. Inherits from `AtomEventListener`. --- ## `BoolPairEventReferenceListener` Event Reference Listener of type `BoolPair`. Inherits from `AtomEventReferenceListener`. --- ## `Collider2DPairEventReferenceListener` Event Reference Listener of type `Collider2DPair`. Inherits from `AtomEventReferenceListener`. --- ## `IntEventReferenceListener` Event Reference Listener of type `int`. Inherits from `AtomEventReferenceListener`. --- ## `ColliderEventReferenceListener` Event Reference Listener of type `Collider`. Inherits from `AtomEventReferenceListener`. --- ## `IntPairEventReferenceListener` Event Reference Listener of type `IntPair`. Inherits from `AtomEventReferenceListener`. --- ## `Vector3PairEventReferenceListener` Event Reference Listener of type `Vector3Pair`. Inherits from `AtomEventReferenceListener`. --- ## `BoolEventReferenceListener` Event Reference Listener of type `bool`. Inherits from `AtomEventReferenceListener`. --- ## `Collider2DEventReferenceListener` Event Reference Listener of type `Collider2D`. Inherits from `AtomEventReferenceListener`. --- ## `Vector2PairEventReferenceListener` Event Reference Listener of type `Vector2Pair`. Inherits from `AtomEventReferenceListener`. --- ## `StringPairEventReferenceListener` Event Reference Listener of type `StringPair`. Inherits from `AtomEventReferenceListener`. --- ## `ColorEventReferenceListener` Event Reference Listener of type `Color`. Inherits from `AtomEventReferenceListener`. --- ## `Vector2EventReferenceListener` Event Reference Listener of type `Vector2`. Inherits from `AtomEventReferenceListener`. --- ## `FloatEventReferenceListener` Event Reference Listener of type `float`. Inherits from `AtomEventReferenceListener`. --- ## `Vector3EventReferenceListener` Event Reference Listener of type `Vector3`. Inherits from `AtomEventReferenceListener`. --- ## `GameObjectEventReferenceListener` Event Reference Listener of type `GameObject`. Inherits from `AtomEventReferenceListener`. --- ## `FloatPairEventReferenceListener` Event Reference Listener of type `FloatPair`. Inherits from `AtomEventReferenceListener`. --- ## `ColliderPairEventReferenceListener` Event Reference Listener of type `ColliderPair`. Inherits from `AtomEventReferenceListener`. --- ## `ColorPairEventReferenceListener` Event Reference Listener of type `ColorPair`. Inherits from `AtomEventReferenceListener`. --- ## `StringEventReferenceListener` Event Reference Listener of type `string`. Inherits from `AtomEventReferenceListener`. --- ## `GameObjectPairEventReferenceListener` Event Reference Listener of type `GameObjectPair`. Inherits from `AtomEventReferenceListener`. --- ## `FloatReference` Reference of type `float`. Inherits from `EquatableAtomReference`. --- ## `Vector2Reference` Reference of type `Vector2`. Inherits from `EquatableAtomReference`. --- ## `BoolReference` Reference of type `bool`. Inherits from `EquatableAtomReference`. --- ## `ColorReference` Reference of type `Color`. Inherits from `EquatableAtomReference`. --- ## `ColliderReference` Reference of type `Collider`. Inherits from `AtomReference`. --- ## `IntReference` Reference of type `int`. Inherits from `EquatableAtomReference`. --- ## `Collider2DReference` Reference of type `Collider2D`. Inherits from `AtomReference`. --- ## `GameObjectReference` Reference of type `GameObject`. Inherits from `AtomReference`. --- ## `Vector3Reference` Reference of type `Vector3`. Inherits from `EquatableAtomReference`. --- ## `StringReference` Reference of type `string`. Inherits from `EquatableAtomReference`. --- ## `GameObjectPair` IPair of type ``. Inherits from `IPair`. --- ## `Vector3Pair` IPair of type ``. Inherits from `IPair`. --- ## `Collider2DPair` IPair of type ``. Inherits from `IPair`. --- ## `ColorPair` IPair of type ``. Inherits from `IPair`. --- ## `ColliderPair` IPair of type ``. Inherits from `IPair`. --- ## `IntPair` IPair of type ``. Inherits from `IPair`. --- ## `Vector2Pair` IPair of type ``. Inherits from `IPair`. --- ## `FloatPair` IPair of type ``. Inherits from `IPair`. --- ## `BoolPair` IPair of type ``. Inherits from `IPair`. --- ## `StringPair` IPair of type ``. Inherits from `IPair`. --- ## `BoolPairUnityEvent` None generic Unity Event of type `BoolPair`. Inherits from `UnityEvent`. --- ## `ColliderPairUnityEvent` None generic Unity Event of type `ColliderPair`. Inherits from `UnityEvent`. --- ## `GameObjectPairUnityEvent` None generic Unity Event of type `GameObjectPair`. Inherits from `UnityEvent`. --- ## `GameObjectUnityEvent` None generic Unity Event of type `GameObject`. Inherits from `UnityEvent`. --- ## `Collider2DUnityEvent` None generic Unity Event of type `Collider2D`. Inherits from `UnityEvent`. --- ## `ColliderUnityEvent` None generic Unity Event of type `Collider`. Inherits from `UnityEvent`. --- ## `BoolUnityEvent` None generic Unity Event of type `bool`. Inherits from `UnityEvent`. --- ## `IntPairUnityEvent` None generic Unity Event of type `IntPair`. Inherits from `UnityEvent`. --- ## `Vector2UnityEvent` None generic Unity Event of type `Vector2`. Inherits from `UnityEvent`. --- ## `FloatUnityEvent` None generic Unity Event of type `float`. Inherits from `UnityEvent`. --- ## `IntUnityEvent` None generic Unity Event of type `int`. Inherits from `UnityEvent`. --- ## `Vector3UnityEvent` None generic Unity Event of type `Vector3`. Inherits from `UnityEvent`. --- ## `StringPairUnityEvent` None generic Unity Event of type `StringPair`. Inherits from `UnityEvent`. --- ## `ColorPairUnityEvent` None generic Unity Event of type `ColorPair`. Inherits from `UnityEvent`. --- ## `ColorUnityEvent` None generic Unity Event of type `Color`. Inherits from `UnityEvent`. --- ## `AtomBaseVariableUnityEvent` None generic Unity Event of type `AtomBaseVariable`. Inherits from `UnityEvent`. --- ## `StringUnityEvent` None generic Unity Event of type `string`. Inherits from `UnityEvent`. --- ## `FloatPairUnityEvent` None generic Unity Event of type `FloatPair`. Inherits from `UnityEvent`. --- ## `Vector3PairUnityEvent` None generic Unity Event of type `Vector3Pair`. Inherits from `UnityEvent`. --- ## `Collider2DPairUnityEvent` None generic Unity Event of type `Collider2DPair`. Inherits from `UnityEvent`. --- ## `Vector2PairUnityEvent` None generic Unity Event of type `Vector2Pair`. Inherits from `UnityEvent`. --- ## `GameObjectConstant` Constant of type `GameObject`. Inherits from `AtomBaseVariable`. --- ## `Collider2DConstant` Constant of type `Collider2D`. Inherits from `AtomBaseVariable`. --- ## `BoolConstant` Constant of type `bool`. Inherits from `AtomBaseVariable`. --- ## `Vector2Constant` Constant of type `Vector2`. Inherits from `AtomBaseVariable`. --- ## `ColliderConstant` Constant of type `Collider`. Inherits from `AtomBaseVariable`. --- ## `IntConstant` Constant of type `int`. Inherits from `AtomBaseVariable`. --- ## `FloatConstant` Constant of type `float`. Inherits from `AtomBaseVariable`. --- ## `StringConstant` Constant of type `string`. Inherits from `AtomBaseVariable`. --- ## `ColorConstant` Constant of type `Color`. Inherits from `AtomBaseVariable`. --- ## `Vector3Constant` Constant of type `Vector3`. Inherits from `AtomBaseVariable`. --- ## `ColorPairEventReference` Event Reference of type `ColorPair`. Inherits from `AtomEventReference`. --- ## `StringEventReference` Event Reference of type `string`. Inherits from `AtomEventReference`. --- ## `Collider2DPairEventReference` Event Reference of type `Collider2DPair`. Inherits from `AtomEventReference`. --- ## `IntEventReference` Event Reference of type `int`. Inherits from `AtomEventReference`. --- ## `ColliderEventReference` Event Reference of type `Collider`. Inherits from `AtomEventReference`. --- ## `BoolEventReference` Event Reference of type `bool`. Inherits from `AtomEventReference`. --- ## `GameObjectEventReference` Event Reference of type `GameObject`. Inherits from `AtomEventReference`. --- ## `ColliderPairEventReference` Event Reference of type `ColliderPair`. Inherits from `AtomEventReference`. --- ## `Vector2EventReference` Event Reference of type `Vector2`. Inherits from `AtomEventReference`. --- ## `BoolPairEventReference` Event Reference of type `BoolPair`. Inherits from `AtomEventReference`. --- ## `StringPairEventReference` Event Reference of type `StringPair`. Inherits from `AtomEventReference`. --- ## `Collider2DEventReference` Event Reference of type `Collider2D`. Inherits from `AtomEventReference`. --- ## `IntPairEventReference` Event Reference of type `IntPair`. Inherits from `AtomEventReference`. --- ## `Vector2PairEventReference` Event Reference of type `Vector2Pair`. Inherits from `AtomEventReference`. --- ## `FloatPairEventReference` Event Reference of type `FloatPair`. Inherits from `AtomEventReference`. --- ## `Vector3EventReference` Event Reference of type `Vector3`. Inherits from `AtomEventReference`. --- ## `FloatEventReference` Event Reference of type `float`. Inherits from `AtomEventReference`. --- ## `Vector3PairEventReference` Event Reference of type `Vector3Pair`. Inherits from `AtomEventReference`. --- ## `GameObjectPairEventReference` Event Reference of type `GameObjectPair`. Inherits from `AtomEventReference`. --- ## `ColorEventReference` Event Reference of type `Color`. Inherits from `AtomEventReference`. --- ## `Vector2VariableInstancer` Variable Instancer of type `Vector2`. Inherits from `AtomVariableInstancer`. --- ## `Vector3VariableInstancer` Variable Instancer of type `Vector3`. Inherits from `AtomVariableInstancer`. --- ## `FloatVariableInstancer` Variable Instancer of type `float`. Inherits from `AtomVariableInstancer`. --- ## `BoolVariableInstancer` Variable Instancer of type `bool`. Inherits from `AtomVariableInstancer`. --- ## `Collider2DVariableInstancer` Variable Instancer of type `Collider2D`. Inherits from `AtomVariableInstancer`. --- ## `GameObjectVariableInstancer` Variable Instancer of type `GameObject`. Inherits from `AtomVariableInstancer`. --- ## `ColorVariableInstancer` Variable Instancer of type `Color`. Inherits from `AtomVariableInstancer`. --- ## `ColliderVariableInstancer` Variable Instancer of type `Collider`. Inherits from `AtomVariableInstancer`. --- ## `IntVariableInstancer` Variable Instancer of type `int`. Inherits from `AtomVariableInstancer`. --- ## `StringVariableInstancer` Variable Instancer of type `string`. Inherits from `AtomVariableInstancer`. --- ## `Vector3EventInstancer` Event Instancer of type `Vector3`. Inherits from `AtomEventInstancer`. --- ## `FloatEventInstancer` Event Instancer of type `float`. Inherits from `AtomEventInstancer`. --- ## `Vector3PairEventInstancer` Event Instancer of type `Vector3Pair`. Inherits from `AtomEventInstancer`. --- ## `GameObjectPairEventInstancer` Event Instancer of type `GameObjectPair`. Inherits from `AtomEventInstancer`. --- ## `ColorEventInstancer` Event Instancer of type `Color`. Inherits from `AtomEventInstancer`. --- ## `Vector2EventInstancer` Event Instancer of type `Vector2`. Inherits from `AtomEventInstancer`. --- ## `BoolPairEventInstancer` Event Instancer of type `BoolPair`. Inherits from `AtomEventInstancer`. --- ## `StringPairEventInstancer` Event Instancer of type `StringPair`. Inherits from `AtomEventInstancer`. --- ## `Collider2DEventInstancer` Event Instancer of type `Collider2D`. Inherits from `AtomEventInstancer`. --- ## `IntPairEventInstancer` Event Instancer of type `IntPair`. Inherits from `AtomEventInstancer`. --- ## `Vector2PairEventInstancer` Event Instancer of type `Vector2Pair`. Inherits from `AtomEventInstancer`. --- ## `FloatPairEventInstancer` Event Instancer of type `FloatPair`. Inherits from `AtomEventInstancer`. --- ## `ColliderEventInstancer` Event Instancer of type `Collider`. Inherits from `AtomEventInstancer`. --- ## `BoolEventInstancer` Event Instancer of type `bool`. Inherits from `AtomEventInstancer`. --- ## `GameObjectEventInstancer` Event Instancer of type `GameObject`. Inherits from `AtomEventInstancer`. --- ## `ColliderPairEventInstancer` Event Instancer of type `ColliderPair`. Inherits from `AtomEventInstancer`. --- ## `ColorPairEventInstancer` Event Instancer of type `ColorPair`. Inherits from `AtomEventInstancer`. --- ## `StringEventInstancer` Event Instancer of type `string`. Inherits from `AtomEventInstancer`. --- ## `Collider2DPairEventInstancer` Event Instancer of type `Collider2DPair`. Inherits from `AtomEventInstancer`. --- ## `IntEventInstancer` Event Instancer of type `int`. Inherits from `AtomEventInstancer`. --- ## `BoolVariable` Variable of type `bool`. Inherits from `EquatableAtomVariable`. --- ## `Vector2Variable` Variable of type `Vector2`. Inherits from `EquatableAtomVariable`. ### Methods #### `MultiplyBy(System.Single)` Multiply variable by value. ##### Parameters - `value` - Value to multiple by. --- #### `MultiplyBy(UnityAtoms.AtomBaseVariable{System.Single})` Multiply variable by Variable value. ##### Parameters - `variable` - Variable with value to multiple by. --- #### `DivideBy(System.Single)` Divide Variable by value. ##### Parameters - `value` - Value to divide by. --- #### `DivideBy(UnityAtoms.AtomBaseVariable{System.Single})` Divide Variable by Variable value. ##### Parameters - `variable` - Variable value to divide by. --- ## `ColliderVariable` Variable of type `Collider`. Inherits from `AtomVariable`. --- ## `IntVariable` Variable of type `int`. Inherits from `EquatableAtomVariable`. ### Methods #### `Add(System.Int32)` Add value to Variable. ##### Parameters - `value` - Value to add. --- #### `Add(UnityAtoms.AtomBaseVariable{System.Int32})` Add variable value to Variable. ##### Parameters - `variable` - Variable with value to add. --- #### `Subtract(System.Int32)` Subtract value from Variable. ##### Parameters - `value` - Value to subtract. --- #### `Subtract(UnityAtoms.AtomBaseVariable{System.Int32})` Subtract variable value from Variable. ##### Parameters - `variable` - Variable with value to subtract. --- #### `MultiplyBy(System.Int32)` Multiply variable by value. ##### Parameters - `value` - Value to multiple by. --- #### `MultiplyBy(UnityAtoms.AtomBaseVariable{System.Int32})` Multiply variable by Variable value. ##### Parameters - `variable` - Variable with value to multiple by. --- #### `DivideBy(System.Int32)` Divide Variable by value. ##### Parameters - `value` - Value to divide by. --- #### `DivideBy(UnityAtoms.AtomBaseVariable{System.Int32})` Divide Variable by Variable value. ##### Parameters - `variable` - Variable value to divide by. --- ## `FloatVariable` Variable of type `float`. Inherits from `EquatableAtomVariable`. ### Methods #### `Add(System.Single)` Add value to Variable. ##### Parameters - `value` - Value to add. --- #### `Add(UnityAtoms.AtomBaseVariable{System.Single})` Add variable value to Variable. ##### Parameters - `variable` - Variable with value to add. --- #### `Subtract(System.Single)` Subtract value from Variable. ##### Parameters - `value` - Value to subtract. --- #### `Subtract(UnityAtoms.AtomBaseVariable{System.Single})` Subtract variable value from Variable. ##### Parameters - `variable` - Variable with value to subtract. --- #### `MultiplyBy(System.Single)` Multiply variable by value. ##### Parameters - `value` - Value to multiple by. --- #### `MultiplyBy(UnityAtoms.AtomBaseVariable{System.Single})` Multiply variable by Variable value. ##### Parameters - `variable` - Variable with value to multiple by. --- #### `DivideBy(System.Single)` Divide Variable by value. ##### Parameters - `value` - Value to divide by. --- #### `DivideBy(UnityAtoms.AtomBaseVariable{System.Single})` Divide Variable by Variable value. ##### Parameters - `variable` - Variable value to divide by. --- ## `StringVariable` Variable of type `string`. Inherits from `EquatableAtomVariable`. --- ## `GameObjectVariable` Variable of type `GameObject`. Inherits from `AtomVariable`. --- ## `Collider2DVariable` Variable of type `Collider2D`. Inherits from `AtomVariable`. --- ## `ColorVariable` Variable of type `Color`. Inherits from `EquatableAtomVariable`. ### Methods #### `SetAlpha(System.Single)` Set Alpha of Color by value. ##### Parameters - `value` - New alpha value. --- #### `SetAlpha(UnityAtoms.AtomBaseVariable{System.Single})` Set Alpha of Color by Variable value. ##### Parameters - `variable` - New alpha Variable value. --- ## `Vector3Variable` Variable of type `Vector3`. Inherits from `EquatableAtomVariable`. ### Methods #### `MultiplyBy(System.Single)` Multiply variable by value. ##### Parameters - `value` - Value to multiple by. --- #### `MultiplyBy(UnityAtoms.AtomBaseVariable{System.Single})` Multiply variable by Variable value. ##### Parameters - `variable` - Variable with value to multiple by. --- #### `DivideBy(System.Single)` Divide Variable by value. ##### Parameters - `value` - Value to divide by. --- #### `DivideBy(UnityAtoms.AtomBaseVariable{System.Single})` Divide Variable by Variable value. ##### Parameters - `variable` - Variable value to divide by. --- ## `AtomBaseVariableAction` Action of type `AtomBaseVariable`. Inherits from `AtomAction`. --- ## `GameObjectAction` Action of type `GameObject`. Inherits from `AtomAction`. --- ## `Vector2PairAction` Action of type `Vector2Pair`. Inherits from `AtomAction`. --- ## `Vector2Action` Action of type `Vector2`. Inherits from `AtomAction`. --- ## `Vector3Action` Action of type `Vector3`. Inherits from `AtomAction`. --- ## `FloatPairAction` Action of type `FloatPair`. Inherits from `AtomAction`. --- ## `ColorAction` Action of type `Color`. Inherits from `AtomAction`. --- ## `IntPairAction` Action of type `IntPair`. Inherits from `AtomAction`. --- ## `Vector3PairAction` Action of type `Vector3Pair`. Inherits from `AtomAction`. --- ## `ColliderAction` Action of type `Collider`. Inherits from `AtomAction`. --- ## `StringAction` Action of type `string`. Inherits from `AtomAction`. --- ## `Collider2DPairAction` Action of type `Collider2DPair`. Inherits from `AtomAction`. --- ## `BoolPairAction` Action of type `BoolPair`. Inherits from `AtomAction`. --- ## `ColliderPairAction` Action of type `ColliderPair`. Inherits from `AtomAction`. --- ## `BoolAction` Action of type `bool`. Inherits from `AtomAction`. --- ## `GameObjectPairAction` Action of type `GameObjectPair`. Inherits from `AtomAction`. --- ## `IntAction` Action of type `int`. Inherits from `AtomAction`. --- ## `StringPairAction` Action of type `StringPair`. Inherits from `AtomAction`. --- ## `ColorPairAction` Action of type `ColorPair`. Inherits from `AtomAction`. --- ## `FloatAction` Action of type `float`. Inherits from `AtomAction`. --- ## `Collider2DAction` Action of type `Collider2D`. Inherits from `AtomAction`. --- ## `Collider2DCollider2DFunction` Function x 2 of type `Collider2D`. Inherits from `AtomFunction`. --- ## `GameObjectGameObjectFunction` Function x 2 of type `GameObject`. Inherits from `AtomFunction`. --- ## `FloatFloatFunction` Function x 2 of type `float`. Inherits from `AtomFunction`. --- ## `StringStringFunction` Function x 2 of type `string`. Inherits from `AtomFunction`. --- ## `IntIntFunction` Function x 2 of type `int`. Inherits from `AtomFunction`. --- ## `ColliderColliderFunction` Function x 2 of type `Collider`. Inherits from `AtomFunction`. --- ## `Vector2Vector2Function` Function x 2 of type `Vector2`. Inherits from `AtomFunction`. --- ## `BoolBoolFunction` Function x 2 of type `bool`. Inherits from `AtomFunction`. --- ## `Vector3Vector3Function` Function x 2 of type `Vector3`. Inherits from `AtomFunction`. --- ## `ColorColorFunction` Function x 2 of type `Color`. Inherits from `AtomFunction`. --- ## `FloatPairEvent` Event of type `FloatPair`. Inherits from `AtomEvent`. --- ## `Vector2PairEvent` Event of type `Vector2Pair`. Inherits from `AtomEvent`. --- ## `ColliderEvent` Event of type `Collider`. Inherits from `AtomEvent`. --- ## `GameObjectEvent` Event of type `GameObject`. Inherits from `AtomEvent`. --- ## `BoolPairEvent` Event of type `BoolPair`. Inherits from `AtomEvent`. --- ## `ColorPairEvent` Event of type `ColorPair`. Inherits from `AtomEvent`. --- ## `ColliderPairEvent` Event of type `ColliderPair`. Inherits from `AtomEvent`. --- ## `IntPairEvent` Event of type `IntPair`. Inherits from `AtomEvent`. --- ## `GameObjectPairEvent` Event of type `GameObjectPair`. Inherits from `AtomEvent`. --- ## `Vector3Event` Event of type `Vector3`. Inherits from `AtomEvent`. --- ## `Collider2DPairEvent` Event of type `Collider2DPair`. Inherits from `AtomEvent`. --- ## `BoolEvent` Event of type `bool`. Inherits from `AtomEvent`. --- ## `StringEvent` Event of type `string`. Inherits from `AtomEvent`. --- ## `Vector3PairEvent` Event of type `Vector3Pair`. Inherits from `AtomEvent`. --- ## `AtomBaseVariableEvent` Event of type `AtomBaseVariable`. Inherits from `AtomEvent`. --- ## `ColorEvent` Event of type `Color`. Inherits from `AtomEvent`. --- ## `Vector2Event` Event of type `Vector2`. Inherits from `AtomEvent`. --- ## `StringPairEvent` Event of type `StringPair`. Inherits from `AtomEvent`. --- ## `FloatEvent` Event of type `float`. Inherits from `AtomEvent`. --- ## `Collider2DEvent` Event of type `Collider2D`. Inherits from `AtomEvent`. --- ## `IntEvent` Event of type `int`. Inherits from `AtomEvent`. --- ## `StringReferenceAtomBaseVariableDictionary` A SerializableDictionary of type StringReference and AtomBaseVariable. Used by AtomCollection. ### Methods #### `Get(System.String)` Generic getter. #### Type Parameters - `T` - The expected type of the value you want to retrieve. ##### Parameters - `key` - The key associated with the value you want to retrieve. ##### Returns The value of type T if found, otherwise null. --- #### `Get(UnityAtoms.AtomBaseVariable{System.String})` Generic getter. #### Type Parameters - `T` - The expected type of the value you want to retrieve. ##### Parameters - `key` - The key associated with the value you want to retrieve. ##### Returns The value of type T if found, otherwise null. --- #### `Add(System.String,UnityAtoms.AtomBaseVariable)` Add value and its associated key to the dictionary. ##### Parameters - `key` - The key associated with the value. - `value` - The value to add. --- #### `Add(UnityAtoms.AtomBaseVariable{System.String},UnityAtoms.AtomBaseVariable)` Add value and its associated key to the dictionary. ##### Parameters - `key` - The key associated with the value. - `value` - The value to add. --- #### `Remove(System.String)` Remove item by key from the collection. ##### Parameters - `key` - The key that you want to remove. ##### Returns True if it removed a value from the collection, otherwise false. --- #### `Remove(UnityAtoms.AtomBaseVariable{System.String})` Remove item by key from the collection. ##### Parameters - `key` - The key that you want to remove. ##### Returns True if it removed a value from the collection, otherwise false. --- ## `SerializableDictionary` #### Type Parameters - `K` - Key type. - `V` - Value type. A Serializable dictionary used by AtomCollection. ### Variables #### `_duplicateKeyIndices` Needed in order to keep track of duplicate keys in the dictionary. --- ## `AtomList` A List of Atom Variables (AtomBaseVariable). ### Properties #### `Added` Event for when and item is added to the list. --- #### `Removed` Event for when and item is removed from the list. --- #### `Cleared` Event for when the list is cleared. ### Methods #### `GetValue` Get value as an `IAtomList`. Needed in order to inject Lists into the Variable Instancer class. ##### Returns The value as an `IAtomList`. --- #### `ObserveAdd` Make the add event into an `IObservable`. Makes List's add Event compatible with for example UniRx. ##### Returns The add Event as an `IObservable`. --- #### `ObserveRemove` Make the remove event into an `IObservable`. Makes List's remove Event compatible with for example UniRx. ##### Returns The remove Event as an `IObservable`. --- #### `ObserveClear` Make the clear event into an `IObservable`. Makes List's clear Event compatible with for example UniRx. ##### Returns The clear Event as an `IObservable`. --- ## `AtomCollection` A Collection / Dictionary of Atom Variables (AtomBaseVariable). ### Properties #### `Added` Event for when and item is added to the collection. --- #### `Removed` Event for when and item is removed from the collection. --- #### `Cleared` Event for when the collection is cleared. ### Methods #### `GetValue` Get value as an `IAtomCollection`. Needed in order to inject Collection into the Variable Instancer class. ##### Returns The value as an `IAtomCollection`. --- #### `ObserveAdd` Make the add event into an `IObservable`. Makes Collection's add Event compatible with for example UniRx. ##### Returns The add Event as an `IObservable`. --- #### `ObserveRemove` Make the remove event into an `IObservable`. Makes Collection's remove Event compatible with for example UniRx. ##### Returns The remove Event as an `IObservable`. --- #### `ObserveClear` Make the clear event into an `IObservable`. Makes Collection's clear Event compatible with for example UniRx. ##### Returns The clear Event as an `IObservable`. --- ## `AtomBaseVariableList` A List of type AtomBaseVariable. Used by AtomList. ### Methods #### `Get(System.Int32)` Generic getter. #### Type Parameters - `T` - The expected type of the value you want to retrieve. ##### Parameters - `index` - The index you want to retrieve. ##### Returns The value of type T at specified index. --- #### `Get(UnityAtoms.AtomBaseVariable{System.Int32})` Generic getter. #### Type Parameters - `T` - The expected type of the value you want to retrieve. ##### Parameters - `index` - The index you want to retrieve. ##### Returns The value of type T at specified index. --- #### `Add(UnityAtoms.AtomBaseVariable)` Add an item to the list. ##### Parameters - `item` - The item to add. --- #### `Remove(UnityAtoms.AtomBaseVariable)` Remove an item from the list. ##### Parameters - `item` - The item to remove. ##### Returns True if it was removed, otherwise false.. --- #### `RemoveAt(System.Int32)` Remove an item at provided index. ##### Parameters - `index` - The index to remove item at. --- #### `Insert(System.Int32,UnityAtoms.AtomBaseVariable)` Insert item at index. ##### Parameters - `index` - Index to insert item at. - `item` - Item to insert. --- #### `Clear` Ckear list. --- ## `FloatValueList` Value List of type `float`. Inherits from `AtomValueList`. --- ## `Vector2ValueList` Value List of type `Vector2`. Inherits from `AtomValueList`. --- ## `BoolValueList` Value List of type `bool`. Inherits from `AtomValueList`. --- ## `ColorValueList` Value List of type `Color`. Inherits from `AtomValueList`. --- ## `ColliderValueList` Value List of type `Collider`. Inherits from `AtomValueList`. --- ## `IntValueList` Value List of type `int`. Inherits from `AtomValueList`. --- ## `GameObjectValueList` Value List of type `GameObject`. Inherits from `AtomValueList`. --- ## `Collider2DValueList` Value List of type `Collider2D`. Inherits from `AtomValueList`. --- ## `Vector3ValueList` Value List of type `Vector3`. Inherits from `AtomValueList`. --- ## `StringValueList` Value List of type `string`. Inherits from `AtomValueList`. --- ## `SetVector2VariableValue` Set variable value Action of type `Vector2`. Inherits from `SetVariableValue`. --- ## `SetColorVariableValue` Set variable value Action of type `Color`. Inherits from `SetVariableValue`. --- ## `SetCollider2DVariableValue` Set variable value Action of type `Collider2D`. Inherits from `SetVariableValue`. --- ## `SetBoolVariableValue` Set variable value Action of type `bool`. Inherits from `SetVariableValue`. --- ## `SetFloatVariableValue` Set variable value Action of type `float`. Inherits from `SetVariableValue`. --- ## `SetVector3VariableValue` Set variable value Action of type `Vector3`. Inherits from `SetVariableValue`. --- ## `SetGameObjectVariableValue` Set variable value Action of type `GameObject`. Inherits from `SetVariableValue`. --- ## `SetStringVariableValue` Set variable value Action of type `string`. Inherits from `SetVariableValue`. --- ## `SetIntVariableValue` Set variable value Action of type `int`. Inherits from `SetVariableValue`. --- ## `SetColliderVariableValue` Set variable value Action of type `Collider`. Inherits from `SetVariableValue`. --- ## `ClampInt` An `AtomFunction` that clamps the value using a min and a max value and returns it. ### Variables #### `Min` The minimum value. --- #### `Max` The maximum value. --- ## `ClampFloat` An `AtomFunction` that clamps the value using a min and a max value and returns it. ### Variables #### `Min` The minimum value. --- #### `Max` The maximum value. ---