61 KiB
id | title | hide_title | sidebar_label |
---|---|---|---|
unityatoms.baseatoms | UnityAtoms.BaseAtoms | true | UnityAtoms.BaseAtoms |
Namespace - UnityAtoms.BaseAtoms
BoolPairEventReferenceListener
Event Reference Listener of type BoolPair
. Inherits from AtomEventReferenceListener<BoolPair, BoolPairEvent, BoolPairEventReference, BoolPairUnityEvent>
.
CollisionPairEventReferenceListener
Event Reference Listener of type CollisionPair
. Inherits from AtomEventReferenceListener<CollisionPair, CollisionPairEvent, CollisionPairEventReference, CollisionPairUnityEvent>
.
Collider2DPairEventReferenceListener
Event Reference Listener of type Collider2DPair
. Inherits from AtomEventReferenceListener<Collider2DPair, Collider2DPairEvent, Collider2DPairEventReference, Collider2DPairUnityEvent>
.
CollisionEventReferenceListener
Event Reference Listener of type Collision
. Inherits from AtomEventReferenceListener<Collision, CollisionEvent, CollisionEventReference, CollisionUnityEvent>
.
IntEventReferenceListener
Event Reference Listener of type int
. Inherits from AtomEventReferenceListener<int, IntEvent, IntEventReference, IntUnityEvent>
.
Collision2DPairEventReferenceListener
Event Reference Listener of type Collision2DPair
. Inherits from AtomEventReferenceListener<Collision2DPair, Collision2DPairEvent, Collision2DPairEventReference, Collision2DPairUnityEvent>
.
ColliderEventReferenceListener
Event Reference Listener of type Collider
. Inherits from AtomEventReferenceListener<Collider, ColliderEvent, ColliderEventReference, ColliderUnityEvent>
.
Collision2DEventReferenceListener
Event Reference Listener of type Collision2D
. Inherits from AtomEventReferenceListener<Collision2D, Collision2DEvent, Collision2DEventReference, Collision2DUnityEvent>
.
IntPairEventReferenceListener
Event Reference Listener of type IntPair
. Inherits from AtomEventReferenceListener<IntPair, IntPairEvent, IntPairEventReference, IntPairUnityEvent>
.
QuaternionPairEventReferenceListener
Event Reference Listener of type QuaternionPair
. Inherits from AtomEventReferenceListener<QuaternionPair, QuaternionPairEvent, QuaternionPairEventReference, QuaternionPairUnityEvent>
.
Vector3PairEventReferenceListener
Event Reference Listener of type Vector3Pair
. Inherits from AtomEventReferenceListener<Vector3Pair, Vector3PairEvent, Vector3PairEventReference, Vector3PairUnityEvent>
.
BoolEventReferenceListener
Event Reference Listener of type bool
. Inherits from AtomEventReferenceListener<bool, BoolEvent, BoolEventReference, BoolUnityEvent>
.
Collider2DEventReferenceListener
Event Reference Listener of type Collider2D
. Inherits from AtomEventReferenceListener<Collider2D, Collider2DEvent, Collider2DEventReference, Collider2DUnityEvent>
.
DoubleEventReferenceListener
Event Reference Listener of type double
. Inherits from AtomEventReferenceListener<double, DoubleEvent, DoubleEventReference, DoubleUnityEvent>
.
DoublePairEventReferenceListener
Event Reference Listener of type DoublePair
. Inherits from AtomEventReferenceListener<DoublePair, DoublePairEvent, DoublePairEventReference, DoublePairUnityEvent>
.
Vector2PairEventReferenceListener
Event Reference Listener of type Vector2Pair
. Inherits from AtomEventReferenceListener<Vector2Pair, Vector2PairEvent, Vector2PairEventReference, Vector2PairUnityEvent>
.
StringPairEventReferenceListener
Event Reference Listener of type StringPair
. Inherits from AtomEventReferenceListener<StringPair, StringPairEvent, StringPairEventReference, StringPairUnityEvent>
.
ColorEventReferenceListener
Event Reference Listener of type Color
. Inherits from AtomEventReferenceListener<Color, ColorEvent, ColorEventReference, ColorUnityEvent>
.
Vector2EventReferenceListener
Event Reference Listener of type Vector2
. Inherits from AtomEventReferenceListener<Vector2, Vector2Event, Vector2EventReference, Vector2UnityEvent>
.
FloatEventReferenceListener
Event Reference Listener of type float
. Inherits from AtomEventReferenceListener<float, FloatEvent, FloatEventReference, FloatUnityEvent>
.
QuaternionEventReferenceListener
Event Reference Listener of type Quaternion
. Inherits from AtomEventReferenceListener<Quaternion, QuaternionEvent, QuaternionEventReference, QuaternionUnityEvent>
.
Vector3EventReferenceListener
Event Reference Listener of type Vector3
. Inherits from AtomEventReferenceListener<Vector3, Vector3Event, Vector3EventReference, Vector3UnityEvent>
.
GameObjectEventReferenceListener
Event Reference Listener of type GameObject
. Inherits from AtomEventReferenceListener<GameObject, GameObjectEvent, GameObjectEventReference, GameObjectUnityEvent>
.
FloatPairEventReferenceListener
Event Reference Listener of type FloatPair
. Inherits from AtomEventReferenceListener<FloatPair, FloatPairEvent, FloatPairEventReference, FloatPairUnityEvent>
.
ColliderPairEventReferenceListener
Event Reference Listener of type ColliderPair
. Inherits from AtomEventReferenceListener<ColliderPair, ColliderPairEvent, ColliderPairEventReference, ColliderPairUnityEvent>
.
ColorPairEventReferenceListener
Event Reference Listener of type ColorPair
. Inherits from AtomEventReferenceListener<ColorPair, ColorPairEvent, ColorPairEventReference, ColorPairUnityEvent>
.
StringEventReferenceListener
Event Reference Listener of type string
. Inherits from AtomEventReferenceListener<string, StringEvent, StringEventReference, StringUnityEvent>
.
GameObjectPairEventReferenceListener
Event Reference Listener of type GameObjectPair
. Inherits from AtomEventReferenceListener<GameObjectPair, GameObjectPairEvent, GameObjectPairEventReference, GameObjectPairUnityEvent>
.
FloatReference
Reference of type float
. Inherits from EquatableAtomReference<float, FloatPair, FloatConstant, FloatVariable, FloatEvent, FloatPairEvent, FloatFloatFunction, FloatVariableInstancer, AtomCollection, AtomList>
.
Collision2DReference
Reference of type Collision2D
. Inherits from AtomReference<Collision2D, Collision2DPair, Collision2DConstant, Collision2DVariable, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction, Collision2DVariableInstancer, AtomCollection, AtomList>
.
Vector2Reference
Reference of type Vector2
. Inherits from EquatableAtomReference<Vector2, Vector2Pair, Vector2Constant, Vector2Variable, Vector2Event, Vector2PairEvent, Vector2Vector2Function, Vector2VariableInstancer, AtomCollection, AtomList>
.
BoolReference
Reference of type bool
. Inherits from EquatableAtomReference<bool, BoolPair, BoolConstant, BoolVariable, BoolEvent, BoolPairEvent, BoolBoolFunction, BoolVariableInstancer, AtomCollection, AtomList>
.
ColorReference
Reference of type Color
. Inherits from EquatableAtomReference<Color, ColorPair, ColorConstant, ColorVariable, ColorEvent, ColorPairEvent, ColorColorFunction, ColorVariableInstancer, AtomCollection, AtomList>
.
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.
ColliderReference
Reference of type Collider
. Inherits from AtomReference<Collider, ColliderPair, ColliderConstant, ColliderVariable, ColliderEvent, ColliderPairEvent, ColliderColliderFunction, ColliderVariableInstancer, AtomCollection, AtomList>
.
IntReference
Reference of type int
. Inherits from EquatableAtomReference<int, IntPair, IntConstant, IntVariable, IntEvent, IntPairEvent, IntIntFunction, IntVariableInstancer, AtomCollection, AtomList>
.
CollisionReference
Reference of type Collision
. Inherits from AtomReference<Collision, CollisionPair, CollisionConstant, CollisionVariable, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction, CollisionVariableInstancer, AtomCollection, AtomList>
.
QuaternionReference
Reference of type Quaternion
. Inherits from EquatableAtomReference<Quaternion, QuaternionPair, QuaternionConstant, QuaternionVariable, QuaternionEvent, QuaternionPairEvent, QuaternionQuaternionFunction, QuaternionVariableInstancer, AtomCollection, AtomList>
.
Collider2DReference
Reference of type Collider2D
. Inherits from AtomReference<Collider2D, Collider2DPair, Collider2DConstant, Collider2DVariable, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction, Collider2DVariableInstancer, AtomCollection, AtomList>
.
GameObjectReference
Reference of type GameObject
. Inherits from AtomReference<GameObject, GameObjectPair, GameObjectConstant, GameObjectVariable, GameObjectEvent, GameObjectPairEvent, GameObjectGameObjectFunction, GameObjectVariableInstancer, AtomCollection, AtomList>
.
Vector3Reference
Reference of type Vector3
. Inherits from EquatableAtomReference<Vector3, Vector3Pair, Vector3Constant, Vector3Variable, Vector3Event, Vector3PairEvent, Vector3Vector3Function, Vector3VariableInstancer, AtomCollection, AtomList>
.
StringReference
Reference of type string
. Inherits from EquatableAtomReference<string, StringPair, StringConstant, StringVariable, StringEvent, StringPairEvent, StringStringFunction, StringVariableInstancer, AtomCollection, AtomList>
.
DoubleReference
Reference of type double
. Inherits from EquatableAtomReference<double, DoublePair, DoubleConstant, DoubleVariable, DoubleEvent, DoublePairEvent, DoubleDoubleFunction, DoubleVariableInstancer, AtomCollection, AtomList>
.
CollisionPair
IPair of type <Collision>
. Inherits from IPair<Collision>
.
GameObjectPair
IPair of type <GameObject>
. Inherits from IPair<GameObject>
.
Vector3Pair
IPair of type <Vector3>
. Inherits from IPair<Vector3>
.
Collider2DPair
IPair of type <Collider2D>
. Inherits from IPair<Collider2D>
.
ColorPair
IPair of type <Color>
. Inherits from IPair<Color>
.
DoublePair
IPair of type <double>
. Inherits from IPair<double>
.
ColliderPair
IPair of type <Collider>
. Inherits from IPair<Collider>
.
IntPair
IPair of type <int>
. Inherits from IPair<int>
.
Vector2Pair
IPair of type <Vector2>
. Inherits from IPair<Vector2>
.
FloatPair
IPair of type <float>
. Inherits from IPair<float>
.
QuaternionPair
IPair of type <Quaternion>
. Inherits from IPair<Quaternion>
.
Collision2DPair
IPair of type <Collision2D>
. Inherits from IPair<Collision2D>
.
BoolPair
IPair of type <bool>
. Inherits from IPair<bool>
.
StringPair
IPair of type <string>
. Inherits from IPair<string>
.
BoolPairUnityEvent
None generic Unity Event of type BoolPair
. Inherits from UnityEvent<BoolPair>
.
ColliderPairUnityEvent
None generic Unity Event of type ColliderPair
. Inherits from UnityEvent<ColliderPair>
.
GameObjectPairUnityEvent
None generic Unity Event of type GameObjectPair
. Inherits from UnityEvent<GameObjectPair>
.
DoubleUnityEvent
None generic Unity Event of type double
. Inherits from UnityEvent<double>
.
GameObjectUnityEvent
None generic Unity Event of type GameObject
. Inherits from UnityEvent<GameObject>
.
CollisionPairUnityEvent
None generic Unity Event of type CollisionPair
. Inherits from UnityEvent<CollisionPair>
.
Collider2DUnityEvent
None generic Unity Event of type Collider2D
. Inherits from UnityEvent<Collider2D>
.
ColliderUnityEvent
None generic Unity Event of type Collider
. Inherits from UnityEvent<Collider>
.
BoolUnityEvent
None generic Unity Event of type bool
. Inherits from UnityEvent<bool>
.
VoidUnityEvent
None generic Unity Event of type Void
. Inherits from UnityEvent<Void>
.
IntPairUnityEvent
None generic Unity Event of type IntPair
. Inherits from UnityEvent<IntPair>
.
Vector2UnityEvent
None generic Unity Event of type Vector2
. Inherits from UnityEvent<Vector2>
.
FloatUnityEvent
None generic Unity Event of type float
. Inherits from UnityEvent<float>
.
IntUnityEvent
None generic Unity Event of type int
. Inherits from UnityEvent<int>
.
CollisionUnityEvent
None generic Unity Event of type Collision
. Inherits from UnityEvent<Collision>
.
Vector3UnityEvent
None generic Unity Event of type Vector3
. Inherits from UnityEvent<Vector3>
.
StringPairUnityEvent
None generic Unity Event of type StringPair
. Inherits from UnityEvent<StringPair>
.
ColorPairUnityEvent
None generic Unity Event of type ColorPair
. Inherits from UnityEvent<ColorPair>
.
ColorUnityEvent
None generic Unity Event of type Color
. Inherits from UnityEvent<Color>
.
AtomBaseVariableUnityEvent
None generic Unity Event of type AtomBaseVariable
. Inherits from UnityEvent<AtomBaseVariable>
.
StringUnityEvent
None generic Unity Event of type string
. Inherits from UnityEvent<string>
.
DoublePairUnityEvent
None generic Unity Event of type DoublePair
. Inherits from UnityEvent<DoublePair>
.
FloatPairUnityEvent
None generic Unity Event of type FloatPair
. Inherits from UnityEvent<FloatPair>
.
Vector3PairUnityEvent
None generic Unity Event of type Vector3Pair
. Inherits from UnityEvent<Vector3Pair>
.
Collision2DUnityEvent
None generic Unity Event of type Collision2D
. Inherits from UnityEvent<Collision2D>
.
QuaternionPairUnityEvent
None generic Unity Event of type QuaternionPair
. Inherits from UnityEvent<QuaternionPair>
.
Collider2DPairUnityEvent
None generic Unity Event of type Collider2DPair
. Inherits from UnityEvent<Collider2DPair>
.
QuaternionUnityEvent
None generic Unity Event of type Quaternion
. Inherits from UnityEvent<Quaternion>
.
Collision2DPairUnityEvent
None generic Unity Event of type Collision2DPair
. Inherits from UnityEvent<Collision2DPair>
.
Vector2PairUnityEvent
None generic Unity Event of type Vector2Pair
. Inherits from UnityEvent<Vector2Pair>
.
GameObjectConstant
Constant of type GameObject
. Inherits from AtomBaseVariable<GameObject>
.
Collider2DConstant
Constant of type Collider2D
. Inherits from AtomBaseVariable<Collider2D>
.
QuaternionConstant
Constant of type Quaternion
. Inherits from AtomBaseVariable<Quaternion>
.
Collision2DConstant
Constant of type Collision2D
. Inherits from AtomBaseVariable<Collision2D>
.
BoolConstant
Constant of type bool
. Inherits from AtomBaseVariable<bool>
.
Vector2Constant
Constant of type Vector2
. Inherits from AtomBaseVariable<Vector2>
.
ColliderConstant
Constant of type Collider
. Inherits from AtomBaseVariable<Collider>
.
IntConstant
Constant of type int
. Inherits from AtomBaseVariable<int>
.
CollisionConstant
Constant of type Collision
. Inherits from AtomBaseVariable<Collision>
.
FloatConstant
Constant of type float
. Inherits from AtomBaseVariable<float>
.
StringConstant
Constant of type string
. Inherits from AtomBaseVariable<string>
.
DoubleConstant
Constant of type double
. Inherits from AtomBaseVariable<double>
.
ColorConstant
Constant of type Color
. Inherits from AtomBaseVariable<Color>
.
Vector3Constant
Constant of type Vector3
. Inherits from AtomBaseVariable<Vector3>
.
ColorPairEventReference
Event Reference of type ColorPair
. Inherits from AtomEventReference<ColorPair, ColorVariable, ColorPairEvent, ColorVariableInstancer, ColorPairEventInstancer>
.
StringEventReference
Event Reference of type string
. Inherits from AtomEventReference<string, StringVariable, StringEvent, StringVariableInstancer, StringEventInstancer>
.
CollisionPairEventReference
Event Reference of type CollisionPair
. Inherits from AtomEventReference<CollisionPair, CollisionVariable, CollisionPairEvent, CollisionVariableInstancer, CollisionPairEventInstancer>
.
Collider2DPairEventReference
Event Reference of type Collider2DPair
. Inherits from AtomEventReference<Collider2DPair, Collider2DVariable, Collider2DPairEvent, Collider2DVariableInstancer, Collider2DPairEventInstancer>
.
DoublePairEventReference
Event Reference of type DoublePair
. Inherits from AtomEventReference<DoublePair, DoubleVariable, DoublePairEvent, DoubleVariableInstancer, DoublePairEventInstancer>
.
IntEventReference
Event Reference of type int
. Inherits from AtomEventReference<int, IntVariable, IntEvent, IntVariableInstancer, IntEventInstancer>
.
Collision2DPairEventReference
Event Reference of type Collision2DPair
. Inherits from AtomEventReference<Collision2DPair, Collision2DVariable, Collision2DPairEvent, Collision2DVariableInstancer, Collision2DPairEventInstancer>
.
CollisionEventReference
Event Reference of type Collision
. Inherits from AtomEventReference<Collision, CollisionVariable, CollisionEvent, CollisionVariableInstancer, CollisionEventInstancer>
.
ColliderEventReference
Event Reference of type Collider
. Inherits from AtomEventReference<Collider, ColliderVariable, ColliderEvent, ColliderVariableInstancer, ColliderEventInstancer>
.
BoolEventReference
Event Reference of type bool
. Inherits from AtomEventReference<bool, BoolVariable, BoolEvent, BoolVariableInstancer, BoolEventInstancer>
.
GameObjectEventReference
Event Reference of type GameObject
. Inherits from AtomEventReference<GameObject, GameObjectVariable, GameObjectEvent, GameObjectVariableInstancer, GameObjectEventInstancer>
.
ColliderPairEventReference
Event Reference of type ColliderPair
. Inherits from AtomEventReference<ColliderPair, ColliderVariable, ColliderPairEvent, ColliderVariableInstancer, ColliderPairEventInstancer>
.
Vector2EventReference
Event Reference of type Vector2
. Inherits from AtomEventReference<Vector2, Vector2Variable, Vector2Event, Vector2VariableInstancer, Vector2EventInstancer>
.
BoolPairEventReference
Event Reference of type BoolPair
. Inherits from AtomEventReference<BoolPair, BoolVariable, BoolPairEvent, BoolVariableInstancer, BoolPairEventInstancer>
.
Collision2DEventReference
Event Reference of type Collision2D
. Inherits from AtomEventReference<Collision2D, Collision2DVariable, Collision2DEvent, Collision2DVariableInstancer, Collision2DEventInstancer>
.
StringPairEventReference
Event Reference of type StringPair
. Inherits from AtomEventReference<StringPair, StringVariable, StringPairEvent, StringVariableInstancer, StringPairEventInstancer>
.
Collider2DEventReference
Event Reference of type Collider2D
. Inherits from AtomEventReference<Collider2D, Collider2DVariable, Collider2DEvent, Collider2DVariableInstancer, Collider2DEventInstancer>
.
QuaternionPairEventReference
Event Reference of type QuaternionPair
. Inherits from AtomEventReference<QuaternionPair, QuaternionVariable, QuaternionPairEvent, QuaternionVariableInstancer, QuaternionPairEventInstancer>
.
QuaternionEventReference
Event Reference of type Quaternion
. Inherits from AtomEventReference<Quaternion, QuaternionVariable, QuaternionEvent, QuaternionVariableInstancer, QuaternionEventInstancer>
.
IntPairEventReference
Event Reference of type IntPair
. Inherits from AtomEventReference<IntPair, IntVariable, IntPairEvent, IntVariableInstancer, IntPairEventInstancer>
.
Vector2PairEventReference
Event Reference of type Vector2Pair
. Inherits from AtomEventReference<Vector2Pair, Vector2Variable, Vector2PairEvent, Vector2VariableInstancer, Vector2PairEventInstancer>
.
FloatPairEventReference
Event Reference of type FloatPair
. Inherits from AtomEventReference<FloatPair, FloatVariable, FloatPairEvent, FloatVariableInstancer, FloatPairEventInstancer>
.
Vector3EventReference
Event Reference of type Vector3
. Inherits from AtomEventReference<Vector3, Vector3Variable, Vector3Event, Vector3VariableInstancer, Vector3EventInstancer>
.
DoubleEventReference
Event Reference of type double
. Inherits from AtomEventReference<double, DoubleVariable, DoubleEvent, DoubleVariableInstancer, DoubleEventInstancer>
.
FloatEventReference
Event Reference of type float
. Inherits from AtomEventReference<float, FloatVariable, FloatEvent, FloatVariableInstancer, FloatEventInstancer>
.
Vector3PairEventReference
Event Reference of type Vector3Pair
. Inherits from AtomEventReference<Vector3Pair, Vector3Variable, Vector3PairEvent, Vector3VariableInstancer, Vector3PairEventInstancer>
.
GameObjectPairEventReference
Event Reference of type GameObjectPair
. Inherits from AtomEventReference<GameObjectPair, GameObjectVariable, GameObjectPairEvent, GameObjectVariableInstancer, GameObjectPairEventInstancer>
.
ColorEventReference
Event Reference of type Color
. Inherits from AtomEventReference<Color, ColorVariable, ColorEvent, ColorVariableInstancer, ColorEventInstancer>
.
Vector2VariableInstancer
Variable Instancer of type Vector2
. Inherits from AtomVariableInstancer<Vector2Variable, Vector2Pair, Vector2, Vector2Event, Vector2PairEvent, Vector2Vector2Function>
.
Collision2DVariableInstancer
Variable Instancer of type Collision2D
. Inherits from AtomVariableInstancer<Collision2DVariable, Collision2DPair, Collision2D, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>
.
Vector3VariableInstancer
Variable Instancer of type Vector3
. Inherits from AtomVariableInstancer<Vector3Variable, Vector3Pair, Vector3, Vector3Event, Vector3PairEvent, Vector3Vector3Function>
.
FloatVariableInstancer
Variable Instancer of type float
. Inherits from AtomVariableInstancer<FloatVariable, FloatPair, float, FloatEvent, FloatPairEvent, FloatFloatFunction>
.
BoolVariableInstancer
Variable Instancer of type bool
. Inherits from AtomVariableInstancer<BoolVariable, BoolPair, bool, BoolEvent, BoolPairEvent, BoolBoolFunction>
.
Collider2DVariableInstancer
Variable Instancer of type Collider2D
. Inherits from AtomVariableInstancer<Collider2DVariable, Collider2DPair, Collider2D, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction>
.
CollisionVariableInstancer
Variable Instancer of type Collision
. Inherits from AtomVariableInstancer<CollisionVariable, CollisionPair, Collision, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction>
.
GameObjectVariableInstancer
Variable Instancer of type GameObject
. Inherits from AtomVariableInstancer<GameObjectVariable, GameObjectPair, GameObject, GameObjectEvent, GameObjectPairEvent, GameObjectGameObjectFunction>
.
ColorVariableInstancer
Variable Instancer of type Color
. Inherits from AtomVariableInstancer<ColorVariable, ColorPair, Color, ColorEvent, ColorPairEvent, ColorColorFunction>
.
ColliderVariableInstancer
Variable Instancer of type Collider
. Inherits from AtomVariableInstancer<ColliderVariable, ColliderPair, Collider, ColliderEvent, ColliderPairEvent, ColliderColliderFunction>
.
IntVariableInstancer
Variable Instancer of type int
. Inherits from AtomVariableInstancer<IntVariable, IntPair, int, IntEvent, IntPairEvent, IntIntFunction>
.
QuaternionVariableInstancer
Variable Instancer of type Quaternion
. Inherits from AtomVariableInstancer<QuaternionVariable, QuaternionPair, Quaternion, QuaternionEvent, QuaternionPairEvent, QuaternionQuaternionFunction>
.
StringVariableInstancer
Variable Instancer of type string
. Inherits from AtomVariableInstancer<StringVariable, StringPair, string, StringEvent, StringPairEvent, StringStringFunction>
.
DoubleVariableInstancer
Variable Instancer of type double
. Inherits from AtomVariableInstancer<DoubleVariable, DoublePair, double, DoubleEvent, DoublePairEvent, DoubleDoubleFunction>
.
AtomBaseVariableEventReferenceUsage
Different types of Event Reference usages.
AtomBaseVariableBaseEventReference
Event Reference of type AtomBaseVariable
. Inherits from AtomBaseEventReference<AtomBaseVariable, AtomBaseVariableEvent, AtomBaseVariableEventInstancer>
.
Variables
_collection
Collection used if Usage
is set to COLLECTION_ADDED_EVENT
or COLLECTION_REMOVED_EVENT
.
_list
List used if Usage
is set to LIST_ADDED_EVENT
or LIST_REMOVED_EVENT
.
_collectionInstancer
Collection Instancer used if Usage
is set to COLLECTION_INSTANCER_ADDED_EVENT
or COLLECTION_INSTANCER_REMOVED_EVENT
.
_listInstancer
List Instancer used if Usage
is set to LIST_INSTANCER_ADDED_EVENT
or LIST_INSTANCER_REMOVED_EVENT
.
Properties
Event
Get or set the Event used by the Event Reference.
VoidBaseEventReference
Event Reference of type Void
. Inherits from AtomBaseEventReference<Void, VoidEvent, VoidEventInstancer>
.
Variables
_collection
Collection used if Usage
is set to COLLECTION_CLEARED_EVENT
.
_list
List used if Usage
is set to LIST_CLEARED_EVENT
.
_collectionInstancer
Collection Instancer used if Usage
is set to COLLECTION_INSTANCER_CLEARED_EVENT
.
_listInstancer
List Instancer used if Usage
is set to LIST_INSTANCER_CLEARED_EVENT
.
Properties
Event
Get or set the Event used by the Event Reference.
Vector3EventInstancer
Event Instancer of type Vector3
. Inherits from AtomEventInstancer<Vector3, Vector3Event>
.
DoubleEventInstancer
Event Instancer of type double
. Inherits from AtomEventInstancer<double, DoubleEvent>
.
FloatEventInstancer
Event Instancer of type float
. Inherits from AtomEventInstancer<float, FloatEvent>
.
Vector3PairEventInstancer
Event Instancer of type Vector3Pair
. Inherits from AtomEventInstancer<Vector3Pair, Vector3PairEvent>
.
GameObjectPairEventInstancer
Event Instancer of type GameObjectPair
. Inherits from AtomEventInstancer<GameObjectPair, GameObjectPairEvent>
.
VoidEventInstancer
Event Instancer of type Void
. Inherits from AtomEventInstancer<Void, VoidEvent>
.
AtomBaseVariableEventInstancer
Event Instancer of type AtomBaseVariable
. Inherits from AtomEventInstancer<AtomBaseVariable, AtomBaseVariableEvent>
.
ColorEventInstancer
Event Instancer of type Color
. Inherits from AtomEventInstancer<Color, ColorEvent>
.
Vector2EventInstancer
Event Instancer of type Vector2
. Inherits from AtomEventInstancer<Vector2, Vector2Event>
.
BoolPairEventInstancer
Event Instancer of type BoolPair
. Inherits from AtomEventInstancer<BoolPair, BoolPairEvent>
.
Collision2DEventInstancer
Event Instancer of type Collision2D
. Inherits from AtomEventInstancer<Collision2D, Collision2DEvent>
.
StringPairEventInstancer
Event Instancer of type StringPair
. Inherits from AtomEventInstancer<StringPair, StringPairEvent>
.
Collider2DEventInstancer
Event Instancer of type Collider2D
. Inherits from AtomEventInstancer<Collider2D, Collider2DEvent>
.
QuaternionPairEventInstancer
Event Instancer of type QuaternionPair
. Inherits from AtomEventInstancer<QuaternionPair, QuaternionPairEvent>
.
QuaternionEventInstancer
Event Instancer of type Quaternion
. Inherits from AtomEventInstancer<Quaternion, QuaternionEvent>
.
IntPairEventInstancer
Event Instancer of type IntPair
. Inherits from AtomEventInstancer<IntPair, IntPairEvent>
.
Vector2PairEventInstancer
Event Instancer of type Vector2Pair
. Inherits from AtomEventInstancer<Vector2Pair, Vector2PairEvent>
.
FloatPairEventInstancer
Event Instancer of type FloatPair
. Inherits from AtomEventInstancer<FloatPair, FloatPairEvent>
.
Collision2DPairEventInstancer
Event Instancer of type Collision2DPair
. Inherits from AtomEventInstancer<Collision2DPair, Collision2DPairEvent>
.
CollisionEventInstancer
Event Instancer of type Collision
. Inherits from AtomEventInstancer<Collision, CollisionEvent>
.
ColliderEventInstancer
Event Instancer of type Collider
. Inherits from AtomEventInstancer<Collider, ColliderEvent>
.
BoolEventInstancer
Event Instancer of type bool
. Inherits from AtomEventInstancer<bool, BoolEvent>
.
GameObjectEventInstancer
Event Instancer of type GameObject
. Inherits from AtomEventInstancer<GameObject, GameObjectEvent>
.
ColliderPairEventInstancer
Event Instancer of type ColliderPair
. Inherits from AtomEventInstancer<ColliderPair, ColliderPairEvent>
.
ColorPairEventInstancer
Event Instancer of type ColorPair
. Inherits from AtomEventInstancer<ColorPair, ColorPairEvent>
.
CollisionPairEventInstancer
Event Instancer of type CollisionPair
. Inherits from AtomEventInstancer<CollisionPair, CollisionPairEvent>
.
StringEventInstancer
Event Instancer of type string
. Inherits from AtomEventInstancer<string, StringEvent>
.
Collider2DPairEventInstancer
Event Instancer of type Collider2DPair
. Inherits from AtomEventInstancer<Collider2DPair, Collider2DPairEvent>
.
DoublePairEventInstancer
Event Instancer of type DoublePair
. Inherits from AtomEventInstancer<DoublePair, DoublePairEvent>
.
IntEventInstancer
Event Instancer of type int
. Inherits from AtomEventInstancer<int, IntEvent>
.
Collision2DVariable
Variable of type Collision2D
. Inherits from AtomVariable<Collision2D, Collision2DPair, Collision2DEvent, Collision2DPairEvent, Collision2DCollision2DFunction>
.
BoolVariable
Variable of type bool
. Inherits from EquatableAtomVariable<bool, BoolPair, BoolEvent, BoolPairEvent, BoolBoolFunction>
.
Vector2Variable
Variable of type Vector2
. Inherits from EquatableAtomVariable<Vector2, Vector2Pair, Vector2Event, Vector2PairEvent, Vector2Vector2Function>
.
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<Collider, ColliderPair, ColliderEvent, ColliderPairEvent, ColliderColliderFunction>
.
IntVariable
Variable of type int
. Inherits from EquatableAtomVariable<int, IntPair, IntEvent, IntPairEvent, IntIntFunction>
.
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.
CollisionVariable
Variable of type Collision
. Inherits from AtomVariable<Collision, CollisionPair, CollisionEvent, CollisionPairEvent, CollisionCollisionFunction>
.
FloatVariable
Variable of type float
. Inherits from EquatableAtomVariable<float, FloatPair, FloatEvent, FloatPairEvent, FloatFloatFunction>
.
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<string, StringPair, StringEvent, StringPairEvent, StringStringFunction>
.
GameObjectVariable
Variable of type GameObject
. Inherits from AtomVariable<GameObject, GameObjectPair, GameObjectEvent, GameObjectPairEvent, GameObjectGameObjectFunction>
.
Collider2DVariable
Variable of type Collider2D
. Inherits from AtomVariable<Collider2D, Collider2DPair, Collider2DEvent, Collider2DPairEvent, Collider2DCollider2DFunction>
.
QuaternionVariable
Variable of type Quaternion
. Inherits from EquatableAtomVariable<Quaternion, QuaternionPair, QuaternionEvent, QuaternionPairEvent, QuaternionQuaternionFunction>
.
ColorVariable
Variable of type Color
. Inherits from EquatableAtomVariable<Color, ColorPair, ColorEvent, ColorPairEvent, ColorColorFunction>
.
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<Vector3, Vector3Pair, Vector3Event, Vector3PairEvent, Vector3Vector3Function>
.
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.
DoubleVariable
Variable of type double
. Inherits from EquatableAtomVariable<double, DoublePair, DoubleEvent, DoublePairEvent, DoubleDoubleFunction>
.
Vector2Condition
Condition of type Vector2
. Inherits from AtomCondition<Vector2>
.
FloatCondition
Condition of type float
. Inherits from AtomCondition<float>
.
Collision2DCondition
Condition of type Collision2D
. Inherits from AtomCondition<Collision2D>
.
CollisionCondition
Condition of type Collision
. Inherits from AtomCondition<Collision>
.
QuaternionCondition
Condition of type Quaternion
. Inherits from AtomCondition<Quaternion>
.
ColliderCondition
Condition of type Collider
. Inherits from AtomCondition<Collider>
.
IntCondition
Condition of type int
. Inherits from AtomCondition<int>
.
ColorCondition
Condition of type Color
. Inherits from AtomCondition<Color>
.
BoolCondition
Condition of type bool
. Inherits from AtomCondition<bool>
.
Collider2DCondition
Condition of type Collider2D
. Inherits from AtomCondition<Collider2D>
.
GameObjectCondition
Condition of type GameObject
. Inherits from AtomCondition<GameObject>
.
Vector3Condition
Condition of type Vector3
. Inherits from AtomCondition<Vector3>
.
StringCondition
Condition of type string
. Inherits from AtomCondition<string>
.
DoubleCondition
Condition of type double
. Inherits from AtomCondition<double>
.
AtomBaseVariableAction
Action of type AtomBaseVariable
. Inherits from AtomAction<AtomBaseVariable>
.
GameObjectAction
Action of type GameObject
. Inherits from AtomAction<GameObject>
.
Vector2PairAction
Action of type Vector2Pair
. Inherits from AtomAction<Vector2Pair>
.
Vector2Action
Action of type Vector2
. Inherits from AtomAction<Vector2>
.
Vector3Action
Action of type Vector3
. Inherits from AtomAction<Vector3>
.
FloatPairAction
Action of type FloatPair
. Inherits from AtomAction<FloatPair>
.
ColorAction
Action of type Color
. Inherits from AtomAction<Color>
.
CollisionPairAction
Action of type CollisionPair
. Inherits from AtomAction<CollisionPair>
.
IntPairAction
Action of type IntPair
. Inherits from AtomAction<IntPair>
.
Vector3PairAction
Action of type Vector3Pair
. Inherits from AtomAction<Vector3Pair>
.
ColliderAction
Action of type Collider
. Inherits from AtomAction<Collider>
.
StringAction
Action of type string
. Inherits from AtomAction<string>
.
Collider2DPairAction
Action of type Collider2DPair
. Inherits from AtomAction<Collider2DPair>
.
BoolPairAction
Action of type BoolPair
. Inherits from AtomAction<BoolPair>
.
ColliderPairAction
Action of type ColliderPair
. Inherits from AtomAction<ColliderPair>
.
BoolAction
Action of type bool
. Inherits from AtomAction<bool>
.
GameObjectPairAction
Action of type GameObjectPair
. Inherits from AtomAction<GameObjectPair>
.
DoubleAction
Action of type double
. Inherits from AtomAction<double>
.
DoublePairAction
Action of type DoublePair
. Inherits from AtomAction<DoublePair>
.
Collision2DPairAction
Action of type Collision2DPair
. Inherits from AtomAction<Collision2DPair>
.
QuaternionAction
Action of type Quaternion
. Inherits from AtomAction<Quaternion>
.
QuaternionPairAction
Action of type QuaternionPair
. Inherits from AtomAction<QuaternionPair>
.
IntAction
Action of type int
. Inherits from AtomAction<int>
.
CollisionAction
Action of type Collision
. Inherits from AtomAction<Collision>
.
StringPairAction
Action of type StringPair
. Inherits from AtomAction<StringPair>
.
ColorPairAction
Action of type ColorPair
. Inherits from AtomAction<ColorPair>
.
FloatAction
Action of type float
. Inherits from AtomAction<float>
.
Collider2DAction
Action of type Collider2D
. Inherits from AtomAction<Collider2D>
.
Collision2DAction
Action of type Collision2D
. Inherits from AtomAction<Collision2D>
.
FloatFloatFunction
Function x 2 of type float
. Inherits from AtomFunction<float, float>
.
Vector3Vector3Function
Function x 2 of type Vector3
. Inherits from AtomFunction<Vector3, Vector3>
.
IntIntFunction
Function x 2 of type int
. Inherits from AtomFunction<int, int>
.
BoolBoolFunction
Function x 2 of type bool
. Inherits from AtomFunction<bool, bool>
.
Collider2DCollider2DFunction
Function x 2 of type Collider2D
. Inherits from AtomFunction<Collider2D, Collider2D>
.
Vector2Vector2Function
Function x 2 of type Vector2
. Inherits from AtomFunction<Vector2, Vector2>
.
GameObjectGameObjectFunction
Function x 2 of type GameObject
. Inherits from AtomFunction<GameObject, GameObject>
.
Collision2DCollision2DFunction
Function x 2 of type Collision2D
. Inherits from AtomFunction<Collision2D, Collision2D>
.
CollisionCollisionFunction
Function x 2 of type Collision
. Inherits from AtomFunction<Collision, Collision>
.
DoubleDoubleFunction
Function x 2 of type double
. Inherits from AtomFunction<double, double>
.
QuaternionQuaternionFunction
Function x 2 of type Quaternion
. Inherits from AtomFunction<Quaternion, Quaternion>
.
StringStringFunction
Function x 2 of type string
. Inherits from AtomFunction<string, string>
.
ColorColorFunction
Function x 2 of type Color
. Inherits from AtomFunction<Color, Color>
.
ColliderColliderFunction
Function x 2 of type Collider
. Inherits from AtomFunction<Collider, Collider>
.
SyncCollider2DVariableInstancerToCollection
Adds Variable Instancer's Variable of type Collider2D to a Collection or List on OnEnable and removes it on OnDestroy.
SyncGameObjectVariableInstancerToCollection
Adds Variable Instancer's Variable of type GameObject to a Collection or List on OnEnable and removes it on OnDestroy.
SyncDoubleVariableInstancerToCollection
Adds Variable Instancer's Variable of type double to a Collection or List on OnEnable and removes it on OnDestroy.
SyncColliderVariableInstancerToCollection
Adds Variable Instancer's Variable of type Collider to a Collection or List on OnEnable and removes it on OnDestroy.
SyncVector2VariableInstancerToCollection
Adds Variable Instancer's Variable of type Vector2 to a Collection or List on OnEnable and removes it on OnDestroy.
SyncBoolVariableInstancerToCollection
Adds Variable Instancer's Variable of type bool to a Collection or List on OnEnable and removes it on OnDestroy.
SyncQuaternionVariableInstancerToCollection
Adds Variable Instancer's Variable of type Quaternion to a Collection or List on OnEnable and removes it on OnDestroy.
SyncCollisionVariableInstancerToCollection
Adds Variable Instancer's Variable of type Collision to a Collection or List on OnEnable and removes it on OnDestroy.
SyncVector3VariableInstancerToCollection
Adds Variable Instancer's Variable of type Vector3 to a Collection or List on OnEnable and removes it on OnDestroy.
SyncFloatVariableInstancerToCollection
Adds Variable Instancer's Variable of type float to a Collection or List on OnEnable and removes it on OnDestroy.
SyncStringVariableInstancerToCollection
Adds Variable Instancer's Variable of type string to a Collection or List on OnEnable and removes it on OnDestroy.
SyncColorVariableInstancerToCollection
Adds Variable Instancer's Variable of type Color to a Collection or List on OnEnable and removes it on OnDestroy.
SyncCollision2DVariableInstancerToCollection
Adds Variable Instancer's Variable of type Collision2D to a Collection or List on OnEnable and removes it on OnDestroy.
SyncIntVariableInstancerToCollection
Adds Variable Instancer's Variable of type int to a Collection or List on OnEnable and removes it on OnDestroy.
FloatPairEvent
Event of type FloatPair
. Inherits from AtomEvent<FloatPair>
.
DoubleEvent
Event of type double
. Inherits from AtomEvent<double>
.
Collision2DPairEvent
Event of type Collision2DPair
. Inherits from AtomEvent<Collision2DPair>
.
Vector2PairEvent
Event of type Vector2Pair
. Inherits from AtomEvent<Vector2Pair>
.
ColliderEvent
Event of type Collider
. Inherits from AtomEvent<Collider>
.
GameObjectEvent
Event of type GameObject
. Inherits from AtomEvent<GameObject>
.
CollisionEvent
Event of type Collision
. Inherits from AtomEvent<Collision>
.
BoolPairEvent
Event of type BoolPair
. Inherits from AtomEvent<BoolPair>
.
Collision2DEvent
Event of type Collision2D
. Inherits from AtomEvent<Collision2D>
.
ColorPairEvent
Event of type ColorPair
. Inherits from AtomEvent<ColorPair>
.
ColliderPairEvent
Event of type ColliderPair
. Inherits from AtomEvent<ColliderPair>
.
IntPairEvent
Event of type IntPair
. Inherits from AtomEvent<IntPair>
.
CollisionPairEvent
Event of type CollisionPair
. Inherits from AtomEvent<CollisionPair>
.
QuaternionPairEvent
Event of type QuaternionPair
. Inherits from AtomEvent<QuaternionPair>
.
GameObjectPairEvent
Event of type GameObjectPair
. Inherits from AtomEvent<GameObjectPair>
.
Vector3Event
Event of type Vector3
. Inherits from AtomEvent<Vector3>
.
Collider2DPairEvent
Event of type Collider2DPair
. Inherits from AtomEvent<Collider2DPair>
.
BoolEvent
Event of type bool
. Inherits from AtomEvent<bool>
.
StringEvent
Event of type string
. Inherits from AtomEvent<string>
.
Vector3PairEvent
Event of type Vector3Pair
. Inherits from AtomEvent<Vector3Pair>
.
AtomBaseVariableEvent
Event of type AtomBaseVariable
. Inherits from AtomEvent<AtomBaseVariable>
.
ColorEvent
Event of type Color
. Inherits from AtomEvent<Color>
.
VoidEvent
Event of type Void
. Inherits from AtomEvent<Void>
.
Vector2Event
Event of type Vector2
. Inherits from AtomEvent<Vector2>
.
QuaternionEvent
Event of type Quaternion
. Inherits from AtomEvent<Quaternion>
.
DoublePairEvent
Event of type DoublePair
. Inherits from AtomEvent<DoublePair>
.
StringPairEvent
Event of type StringPair
. Inherits from AtomEvent<StringPair>
.
FloatEvent
Event of type float
. Inherits from AtomEvent<float>
.
Collider2DEvent
Event of type Collider2D
. Inherits from AtomEvent<Collider2D>
.
IntEvent
Event of type int
. Inherits from AtomEvent<int>
.
AtomBaseVariableBaseEventReferenceListener
Event Reference Listener of type AtomBaseVariable
. Inherits from AtomEventReferenceListener<AtomBaseVariable, AtomBaseVariableEvent, AtomBaseVariableBaseEventReference, AtomBaseVariableUnityEvent>
.
VoidBaseEventReferenceListener
Event Reference Listener of type Void
. Inherits from AtomEventReferenceListener<Void, VoidEvent, VoidBaseEventReference, VoidUnityEvent>
.
AtomListInstancer
AtomList Instancer that creates an in memory copy of a List at runtime.
StringReferenceAtomBaseVariableDictionary
A SerializableDictionary of type StringReference and AtomBaseVariable. Used by AtomCollection.
Methods
Get<T>(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<T>(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<K,V>
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.
AtomCollectionReferenceUsage
Different types of usages for an Atom Collection Reference.
AtomCollectionReference
Reference of type AtomCollection
. Inherits from AtomBaseReference
.
Variables
_collection
Variable used if Usage
is set to COLLECTION
.
_instancer
Variable Instancer used if Usage
is set to COLLECTION_INSTANCER
.
Properties
Collection
Get the value for the Reference.
Methods
GetValue
Get value as an IAtomCollection
. Needed in order to inject Collection References into the Variable Instancer class.
Returns
The value as an IAtomList
.
SyncListInstancerToCollection
Adds Variable Instancer's List to a Collection or List on OnEnable and removes it on OnDestroy.
SyncCollectionInstancerToCollection
Adds Variable Instancer's Collection to a Collection or List on OnEnable and removes it on OnDestroy.
AtomBaseCollectionInstancer<T,V>
Type Parameters
T
- undefinedV
- undefined
Creates an in memory copy of a Collection using a base.
Methods
ImplSpecificSetup
Creates in memory copies of the Added, Removed and Cleared Events on OnEnable.
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<T>
. Makes List's add Event compatible with for example UniRx.
Returns
The add Event as an IObservable<T>
.
ObserveRemove
Make the remove event into an IObservable<T>
. Makes List's remove Event compatible with for example UniRx.
Returns
The remove Event as an IObservable<T>
.
ObserveClear
Make the clear event into an IObservable<Void>
. Makes List's clear Event compatible with for example UniRx.
Returns
The clear Event as an IObservable<Void>
.
AtomCollectionInstancer
AtomCollection Instancer that creates an in memory copy of a Collection at runtime.
AtomListReferenceUsage
Different types of usages for an Atom List Reference.
AtomListReference
Reference of type AtomList
. Inherits from AtomBaseReference
.
Variables
_list
Variable used if Usage
is set to LIST
.
_instancer
Variable Instancer used if Usage
is set to LIST_INSTANCER
.
Properties
List
Get the value for the Reference.
Methods
GetValue
Get value as an IAtomList
. Needed in order to inject List References into the Variable Instancer class.
Returns
The value as an IAtomList
.
IWithCollectionEvents
Interface for all Atom Collections.
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<T>
. Makes Collection's add Event compatible with for example UniRx.
Returns
The add Event as an IObservable<T>
.
ObserveRemove
Make the remove event into an IObservable<T>
. Makes Collection's remove Event compatible with for example UniRx.
Returns
The remove Event as an IObservable<T>
.
ObserveClear
Make the clear event into an IObservable<Void>
. Makes Collection's clear Event compatible with for example UniRx.
Returns
The clear Event as an IObservable<Void>
.
AtomBaseVariableList
A List of type AtomBaseVariable. Used by AtomList.
Properties
Added
Get or set the Added Action.
Removed
Get or set the Removed Action.
Cleared
Get or set the Cleared Action.
Methods
Get<T>(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<T>(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
Clear list.
SyncVariableInstancerToCollection
3`
Adds a Variable from a Variable Instancer to a Collection or List on OnEnable and removes it on OnDestroy.
Variables
_variableInstancer
The Variable Instancer whose Variable will get synced to the List and / or Collection defined.
_syncToCollection
If assigned the Variable from the Variable Instancer will be added to the Collection on Start using _syncToCollectionKey
as key or if not specified it uses the gameObject's instance id as key. The value will also be removed from the collection OnDestroy.
_syncToCollectionKey
If this string is not null or white space and if a Collection to sync to is defined, this is the key that will used when adding the Variable to the Collection. If not defined the key defaults to this GameObject's instance id.
_syncToList
If assigned the Variable from the Variable Instancer will be added to the list on Start. The value will also be removed from the list OnDestroy.
SyncGameObjectToList
Adds a GameObject to a GameObject Value List on OnEnable and removes it on OnDestroy.
FloatValueList
Value List of type float
. Inherits from AtomValueList<float, FloatEvent>
.
Collision2DValueList
Value List of type Collision2D
. Inherits from AtomValueList<Collision2D, Collision2DEvent>
.
Vector2ValueList
Value List of type Vector2
. Inherits from AtomValueList<Vector2, Vector2Event>
.
BoolValueList
Value List of type bool
. Inherits from AtomValueList<bool, BoolEvent>
.
ColorValueList
Value List of type Color
. Inherits from AtomValueList<Color, ColorEvent>
.
CollisionValueList
Value List of type Collision
. Inherits from AtomValueList<Collision, CollisionEvent>
.
QuaternionValueList
Value List of type Quaternion
. Inherits from AtomValueList<Quaternion, QuaternionEvent>
.
ColliderValueList
Value List of type Collider
. Inherits from AtomValueList<Collider, ColliderEvent>
.
IntValueList
Value List of type int
. Inherits from AtomValueList<int, IntEvent>
.
GameObjectValueList
Value List of type GameObject
. Inherits from AtomValueList<GameObject, GameObjectEvent>
.
Collider2DValueList
Value List of type Collider2D
. Inherits from AtomValueList<Collider2D, Collider2DEvent>
.
Vector3ValueList
Value List of type Vector3
. Inherits from AtomValueList<Vector3, Vector3Event>
.
DoubleValueList
Value List of type double
. Inherits from AtomValueList<double, DoubleEvent>
.
StringValueList
Value List of type string
. Inherits from AtomValueList<string, StringEvent>
.
SetVector2VariableValue
Set variable value Action of type Vector2
. Inherits from SetVariableValue<Vector2, Vector2Pair, Vector2Variable, Vector2Constant, Vector2Reference, Vector2Event, Vector2PairEvent, Vector2VariableInstancer>
.
SetColorVariableValue
Set variable value Action of type Color
. Inherits from SetVariableValue<Color, ColorPair, ColorVariable, ColorConstant, ColorReference, ColorEvent, ColorPairEvent, ColorVariableInstancer>
.
SetQuaternionVariableValue
Set variable value Action of type Quaternion
. Inherits from SetVariableValue<Quaternion, QuaternionPair, QuaternionVariable, QuaternionConstant, QuaternionReference, QuaternionEvent, QuaternionPairEvent, QuaternionVariableInstancer>
.
SetCollider2DVariableValue
Set variable value Action of type Collider2D
. Inherits from SetVariableValue<Collider2D, Collider2DPair, Collider2DVariable, Collider2DConstant, Collider2DReference, Collider2DEvent, Collider2DPairEvent, Collider2DVariableInstancer>
.
SetBoolVariableValue
Set variable value Action of type bool
. Inherits from SetVariableValue<bool, BoolPair, BoolVariable, BoolConstant, BoolReference, BoolEvent, BoolPairEvent, BoolVariableInstancer>
.
SetDoubleVariableValue
Set variable value Action of type double
. Inherits from SetVariableValue<double, DoublePair, DoubleVariable, DoubleConstant, DoubleReference, DoubleEvent, DoublePairEvent, DoubleVariableInstancer>
.
SetFloatVariableValue
Set variable value Action of type float
. Inherits from SetVariableValue<float, FloatPair, FloatVariable, FloatConstant, FloatReference, FloatEvent, FloatPairEvent, FloatVariableInstancer>
.
SetVector3VariableValue
Set variable value Action of type Vector3
. Inherits from SetVariableValue<Vector3, Vector3Pair, Vector3Variable, Vector3Constant, Vector3Reference, Vector3Event, Vector3PairEvent, Vector3VariableInstancer>
.
SetCollisionVariableValue
Set variable value Action of type Collision
. Inherits from SetVariableValue<Collision, CollisionPair, CollisionVariable, CollisionConstant, CollisionReference, CollisionEvent, CollisionPairEvent, CollisionVariableInstancer>
.
SetGameObjectVariableValue
Set variable value Action of type GameObject
. Inherits from SetVariableValue<GameObject, GameObjectPair, GameObjectVariable, GameObjectConstant, GameObjectReference, GameObjectEvent, GameObjectPairEvent, GameObjectVariableInstancer>
.
SetStringVariableValue
Set variable value Action of type string
. Inherits from SetVariableValue<string, StringPair, StringVariable, StringConstant, StringReference, StringEvent, StringPairEvent, StringVariableInstancer>
.
SetCollision2DVariableValue
Set variable value Action of type Collision2D
. Inherits from SetVariableValue<Collision2D, Collision2DPair, Collision2DVariable, Collision2DConstant, Collision2DReference, Collision2DEvent, Collision2DPairEvent, Collision2DVariableInstancer>
.
SetIntVariableValue
Set variable value Action of type int
. Inherits from SetVariableValue<int, IntPair, IntVariable, IntConstant, IntReference, IntEvent, IntPairEvent, IntVariableInstancer>
.
SetColliderVariableValue
Set variable value Action of type Collider
. Inherits from SetVariableValue<Collider, ColliderPair, ColliderVariable, ColliderConstant, ColliderReference, ColliderEvent, ColliderPairEvent, ColliderVariableInstancer>
.
ClampInt
An AtomFunction<int, int>
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<float, float>
that clamps the value using a min and a max value and returns it.
Variables
Min
The minimum value.
Max
The maximum value.