* Unity Atoms Input System Integration This is just a quick demo to suggest to the Unity Atoms team. There 'was' a line on the github that said to contact you... but creating a Pull Request is the more funner way of doing things. Here we have a YouTube link that explains what these scripts are for. The scene is a bit bare bones since testbed and all that. https://www.youtube.com/watch?v=q7W8FyTIriQ&feature=youtu.be * Input System Interpreters and Workflow cemented No in-game demo this time D:< but I did make a video to explain the workflow, because it beats writing you a 3 page pdf: https://www.youtube.com/watch?v=g7mCpOZpJ4I Like I say in the video, 2 things I still want to do before final: 1. Create ALL the Interpreters! (Mostly things like support for EyeControls.) 2. Write a few lines of documentation. 2 Interpreters I still need to create are for Double and Quaternion, which will then need accompanying Variables and Events. I was wondering if I should push these separately to the base atoms package. * Add Double and Quaternion Variables to BaseAtoms I also put some comments in RegenerateAllAtoms for some clear separation. * Add InputSystem 1.0.1 as a dependency Updates the README as well. * Generator support for nested types If a type is nested, e.g. class Foo.Bar, the Generator will now correctly resolve to: public abstract class Foo_BarAction : AtomAction<Foo.Bar> Dots are replaced with underscores. This way it is certain the resolved type won't conflict with any Microsoft Standard types (their naming conventions forbid it). It is recommended the type name is still changed by the programmer afterwards. ^ in fact, I wanted to make an extra field for this in the generator editor to help with this, but I have not much experience with uielements and the codebase relied heavily on _valueType making it an uphill battle for a later date perhaps. Note that I had to change GeneratorEditor and RegenerateAllAtoms as well, since these were erasing the changes from the Generator.CreateTemplateVariablesMap method (good one guys, ya got me). You might think I missed capitalizing the templateVariables["VALUE_TYPE_NAME"], but this already happens in that Maps method. * Remove version defines on assemblies This is no longer needed now that the InputSystem is a dependency of this package. * Add the PlayerInput and CallbackContext to RegenerateAllAtoms With it, all the atoms generated from PlayerInput and CallbackContext have been regenerated as well, so this push may appear bigger than it really is. Only RegenerateAllAtoms.cs has changed significantly. * Add Double- and QuaternionInterpreter + icons The icon just felt missing. If you had a different color in mind just send me a file. * First commit * Squashed commit of the following: commit 847eff037204d841546c0da772d2f341f9cf1e25 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Sun Mar 17 22:09:38 2019 +0100 #17 - Serializable not needed for ScriptableObject commit 593b275e6394b9d589de8a7a20375145dfc4aa84 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Sun Mar 17 21:59:33 2019 +0100 18 - IGameEvent<T1, T2> RegisterListener commit 40443ce9bd4b1c339aaf19cfcb119f2336608dae Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:35:04 2019 +0100 Remove some more warnings commit bd453110ac51a6ebe3d54368fcb039bdbe52e278 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:33:30 2019 +0100 Update README commit 90977b853a047c84efb5311768a09f4e8a1165b2 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:31:45 2019 +0100 Initialize to null to get rid off warnings commit 38b7f5c4ede195aa7198f567801c9cbeedc9b6f6 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:15:53 2019 +0100 More fixes to enable local unity project commit 404e1cbf88ed4431c61d3ece074e838e74ac5141 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:12:37 2019 +0100 Remove duplicated asmdef commit 5734300684e8a16553f213157cad1b4722b7cb7f Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:09:46 2019 +0100 Change files to include commit d1e42b119a6bc1577b1792459fa298e063652337 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 16:05:56 2019 +0100 Added root package json commit 1709a0347147d74460f653182bbaf8d15eb6154e Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 15:30:44 2019 +0100 #16 - Add test and examples Unity project commit a3ea1a133bf6727e011ba85c64569db45302e487 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 13:12:02 2019 +0100 #13 - Make usage of UPM (package manager) commit 492a30e905f6cf3f5899cb7080ef2bda73110f00 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 11:28:56 2019 +0100 Added extensions + code formatting fixes commit 709949a1016c236cfd363cf25392fedfd8d083ca Author: Oliver Biwer <soraphis@users.noreply.github.com> Date: Fri Mar 8 10:16:45 2019 +0100 More AtomicTags changes (#15) * - added assembly defintions, and unit tests - improved AtomicTags in regards of #8, #9 and #10 * Fixes #11 - Added Equality Members (inclusive HashCode) for ScriptableObjectVariableBase * removed Rider Plugins from git * Further AtomicTag optimization commit ae6584c879f182e727fe0a8d0aff4b0715829914 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 10:08:36 2019 +0100 Editor config commit 197d7067608600e4e2d13dc42db909ee8f8c75df Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Mar 8 09:23:12 2019 +0100 Added editor config file commit 53d6adc07bbc2967c12c17227a1c31d9f1cfba77 Author: Oliver Biwer <soraphis@users.noreply.github.com> Date: Tue Mar 5 22:57:47 2019 +0100 More efficient AtomicTags (#12) * - added assembly defintions, and unit tests - improved AtomicTags in regards of #8, #9 and #10 * Fixes #11 - Added Equality Members (inclusive HashCode) for ScriptableObjectVariableBase * removed Rider Plugins from git commit 81209d83b5195300d4c2d54411cff3c7983f0d97 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Wed Dec 12 20:54:17 2018 +0100 Added MonoHooks + ColliderType + bug fixes commit c6b240cebbdc410341fb05204235842df5da9d73 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Sat Dec 1 00:23:10 2018 +0100 Experimenting with adding UI state management commit dfd70a8944acbeabe5feba1cf6cff2be6802c470 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Nov 30 23:10:21 2018 +0100 Issue #6 - AtomicTags commit 8907763227f4d4c2a32c5684e7caa4d4a082eb16 Author: Adam Ramberg <andersson.adam.89@gmail.com> Date: Fri Nov 30 22:42:29 2018 +0100 First commit of v1.0.0 * New repo structure * Fix empty line issue for conditionals in generator * Generator now handles namespaces * Add sub unity atoms namespace to generator + generate new atoms for TouchUserInput * Generate new SceneField atoms * AtomicTags -> UnityAtomsTags * New simpler / better icon system * Regenerate core atoms with new icon system * Update TouchUserInput icons * Update SceneField with new icon system * Update the last missing atoms with new icon system * Add publish scripts to Github registry * Add files meta in package.jsons * Add missing meta + adjust package.json * Fix warnings when importing package * Use NPM instead of Github registry * Add website for documentation * Added eslint + prettier and updated .editorconfig * Fix assembly references * Rename Listener GameEvent -> Event * ResetValue -> Reset * UseIcon -> EditorIcon * Bug fix * Generate docs - document tags * Correct namespace * Remove unused interfaces * Docs for mobile api * Create documentation WIP * Document Core WIP * Use compiler flag UNITY_2019_1_OR_NEWER - docs gen * Regenerate TouchUserInput Atoms * Document Atom Listener * Add docs to Atom List * Docs WIP * Update Unity Events template comments * Remove interfaces not used * Generate docs for Atom Variable * Regenerate docs for bool Atoms * Regenerate docs for Color Atoms * Regenerate docs for Collider Atoms * Regenerate docs for Collider2D Atoms * Regenerate docs for float Atoms * Regenerate docs for GameObject Atoms * Regenerate docs for int Atoms * Regenerate docs for string Atoms * Regenreate docs for Vector2 Atoms * Regenerate docs for Vector3 Atoms * Regenerate docs for Void Atoms * Regenerate docs for SceneField Atoms * Various docs fixes * Generate more docs for scene mgmt * Readd MonoHooks as a subpackage * - Added a top menu bar option to regenerate all existing Atoms. Nifty when developing the library. - Added the option to use a Constant in Atom References. Related to #58 * #54 - temp workaround for Unity serialization bug * #41 - Create BaseAtomListener including dev desc * UATags -> AtomTags * Remove all FormerlySerializedAs attributes * Add missing MonoHooks folder meta * Set default values to remove MH warnings * #65 - Fix indent and ui state issues of drawer * Expose get property InitialValue for Variables * #68 Temporarily dissalow multiobject editing * #68 - render default drawer when multi editing * V2.0.0 🎉 * Setter to AtomReference's Value was added in order to set the value depending on _usage * Update AtomReference.cs small change to be more future-proof. - when the Usage-Enum is extended this will not silently do nothing * Changed AddComponentMenu names for Listeners/Hooks (#84) * changed AddComponentMenu names for Listeners * renamed AddComponentMenu Listeners names in other packages * renamed AddComponentMenu for hooks * renamed double Listeners to "x 2" convention * #87 bug fixed * Better user guidance for working with AtomVariables (#70) * #69 added custom editor for Variable Types, to guide the usage flow and reduce errors. * allows unlocking of initialvalue in playmode * adjustments to Variable Inspector * Generator now works with all kinds of setups. just select the Packages folder when calling RegenerateAll. Used this to regenerate the CustomEditors * supports now structs * Added RaiseButtons in VariableEditor. #72 Adding simple logging helper on listeners, for fast debugging. * Call `serializedObject.Update();` before `OnInspectorGUI` in the editor script in order to update old value when changing value. Show children for PropertyFields for initial and old value. Some minor refactoring - renaming variables Clean up in `RegenereateAllAtoms` Use `OnEnable` instead of `OnAfterDeserialize` when setting inital value for variable. `OnAfterDeserialize` was causing major issues with the custom editor, eg. it did run when focusing a Variable and showing the inspector, basically making it worthless to change or even inspect the Variable at runtime. `OnEnable` is only called ones when the ScriptableObject is loaded in runtime, which is what we really want. This has been tested running in the editor and in builds. Add missing editors scripts `TouchUserInputVariableEditor`and `SceneFieldVariableEditor` * Variable and Constant Drawers show a preview value (#89) * Drawers of Variables and Constants show value field * #89 Adjust preview width for Vector2 and Vector3 * Name OnTriggerHook class properly. (#91) * Bux fix - name OnTriggerHook class properly. * Add entry to CHANGELOG * #84 parameterless atom listener (#86) * added base class for AtomAction; modified VoidAction; added Register/UnregisterListener to non-generic AtomEvent; added parameterless AtomListener; small polishing * removed EditorIcon from AtomAction; fixed misspelled word in AtomEvent * v2.1.0 🚀 * Unity v2018.4 Support (#98) * - Fixed MonoHooks asmdef reference to Core asmdef was broken. - Fixed dependancy issue for Package Manager. - Removed Generator function in version 2018.4. * Updated to include 2018.4 define directive. * Fix Remove Tag from AtomTags and Fix Remove Tag Test (#102) * v2.1.1 🤖 * Update AtomVariable.cs * Added pre change transformers to Variables + Clamp Int / Float (#93) * Added pre change transformers to Variable + Clamp Value Function (first pre change transformer implementation) - Added a list of pre change transformers to AtomVariable - Added docs - Added two AtomFunctions - ClampInt and ClampFloat - Added custom editors for ClampInt and ClampFloat - AtomFunction<T, T> is not part of the generator - Regenerated all the Atoms * - Created a base class for the editor for ClampFloat and ClampInt. Apparently it is not allowed to have multiple CustomEditor attributes defined for the same class. To implement this I also created an interface called `IIsValid` (for casting purposes in the editor). - Initialize `PreChangeTransformers ` at declaration and removed initialization `OnEnable` - Moved call to `RunPreChangeTransformers ` from `OnEnable` to `OnValidate`. Running it 2 times, once for initialValue and once for value since value can be changed at runtime via editor. - Made the variable PreChangeTransformers private and created a property instead in order to make it impossible to overwrite the list with `null` from the outside. - Moved `ClampInt` and `ClampFloat` in the `CreateAssetMenu` for `Unity Atoms/Functions/Transformers` * IsUnityAtomsRepo should never be settable (#108) * Fix indentation bug in variable drawer (#109) * Reactivate Generator function in Unity 2018.4. (#106) Co-authored-by: Adam Ramberg <adam@mambojambostudios.com> * Fix variable equality issues (#111) * Added Variable Instancer, Event Reference, Atom Collection and Atom List (old Atom List renamed to Atom Value List) (#110) AtomVariableInstancer - Added AtomVariableInstancer as an option to AtomReference. - Added AtomVariableInstancer to generator. - Added editor icon for AtomVariableInstancer. AtomEventReference - Added an AtomEventReference class (and AtomEventX2Reference). It’s similar to an AtomReference, but for Events. Let’s you pick between an Event, Variable (will select the Changed event) and a VariableInstancer (see above). - Added AtomEventReference and AtomEventX2Reference to generator. - Added a drawer for AtomEventReference. - Listeners are now using AtomEventReference instead of AtomEvent. - Refactoring of VoidHooks since Listeners are now using AtomEventReference. AtomCollection - Created an AtomCollection - a collection of Atoms associated with key strings (AtomReferences). - Added new editor icon for collections. - Created a SerializableDictionary class, which AtomCollection is using. - Custom property drawer for SerializableDictionary. - SerializableDictionary supports nested structures meaning that a AtomCollection can have a KVP that is pointing to another AtomCollection. - AtomCollections have 3 events: Added, Removed, Cleared. - Added an option to sync an InstanceVariable to collection - adding it to the collection when created (using gameObject’s instance id as key) and removing it from the collection when destroyed. AtomList - Renamed old AtomList to AtomValueList - Added AtomList, like Collection, but a list - Added new icon for AtomList - Created a AtomBaseVariableList class, which AtomList is using. - Custom property drawer for AtomBaseVariableList. - AtomLists have 3 events: Added, Removed, Cleared. - Added an option to sync an InstanceVariable to list - adding it to the list when created and removing it from the list when destroyed. * Fix ValueEquals in AtomVariable template * Add constructor with value to Reference classes (#113) * Replay subject (#114) * Add constructor with value to Reference classes * Implemented ReplayBehaviour for AtomEvents * Add util actions to Variables (#115) * Add AddComponentMenu to Variable Instancers * v3.0.0 🐉 * Fix typo * WIP * More WIP * Update docs + remove ds store * Fix intro scene * Use Event Reference in MonoHooks * Remove white spaces in Variable Instancers * Add missing meta file for BaseAtoms * Set default to avoid compiler warnings * Example WIP * WIP * Re add accidently deleted stuff * FSM pkg + Example WIP * Align base event reference listener * WIP FSM * WIP * WIP * Clean up WIP * More WIP * WIP * Fix transition data event reference * Remove _base in FSM instancer * WIP * Fix atomstag bug * Fix timing issues * Tweak * Demo scene wip * Example WIP + Variable ID * Finished example scene * Move sync variable instancer to collection to its own MB * Remove sync functionality in variable instancers * Correctly generate comments * Rearranging scenes * Rename example scene * Fix Variable with class type issues * Docs added * Move AtomListAttribute to core * Rename functions correctly * Added some more docs * FSM docs * FSM docs v1 * Add editor folder to FSM pkg * 🦸♂️ v4.0.1 * Fixes to issues in v4.0.1 * 🦹♂️ v4.0.2 * Fix typos (#120) * #122 Add Event Refs for Collections and Lists (#123) * 💜 v4.1.0 * changed from Multiline to TextArea attribute (#128) * Added inspector toggle for triggering Changed and ChangedWithHistory on OnEnable (#126) * Booleans to decide if OnChanged Events are triggered on Variable's OnEnable were added * Variable's editor was updated to show both booleans * Docs updated with new variables * Changelog update * Change variable visibility to private and add explicit default value Co-authored-by: Ignacio Ruiz <iruizm@hiberus.com> * Changes in GetEvent implementation to allow inheritance (#140) * Removed duplicate check before adding an item to AtomValueList (#145) * Fix code generation bug (#147) * Add GetParent / GetValue extenstions for SerializedProperty * Fixing drawer for generated reference of complex struct type (#155) * Adding proposals to fix #153 FIx custom reference doesn't appear properly * Fix #153 Fix custom reference doesn't appear properly * Fix #153 Fix custom reference doesn't appear properly Co-authored-by: Bastien Guyl <bguyl@smart-tale.com> * #131 - Added forceEvent parameter for SetValue function on AtomVariable (#157) * #132 - Add GetEvent and SetEvent functions to AtomReference (#158) * Fix bug where usage popup sometimes were hidden * #160 - Hook up OnFixedUpdate handler * Debug events by displaying stack traces for events (#159) * Add stack trace toggled via user prefs * Add docs regarding preferences * Rename color getter functions * Fix minior order of execution bug * Use GUID + improved styling of detailed stack view * - Changed the AddStackTrace method to be conditional (from one of your initial suggestions). - Removed the implicit conversion operator in StackTraceEntry and is instead using ToString explicitly when needed. - Improved implementation of GetFirstLine - Simplified Equals implementation of the StackTraceEntry class * Changelog + assembly fixes * #164 - Does not work in Unity 2018.3 * 🐝 v4.2.0 * Hacks to get docs generator working * - Fixed clear button handler for StackTraces - Fixed and rearranged StackTraces compiler flags * 🐞v4.2.1 * Make IsUnityAtomsRepo OS agnostic (#168) * Make Examples path check OS agnostic. Co-authored-by: jrmacgill <jmacgill@gmail.com> * Update AtomBaseReferenceDrawer.cs (#174) * Update AtomBaseReferenceDrawer.cs * Update AtomBaseReferenceDrawer.cs * Instancer improvements (#172) * Added Raise method and default base event for event instancers * Added default value for Variable when base is null * Added Event Instancer Raise editor * Generator creates compilable code with type specific modifications (#169) * Make Examples path check OS agnostic. * Examples path check OS agnostic. * Update Runtime.cs * Re-generate and patch back in type specific changes * Add missing UnityEngine using. * Marked as not sealed * Support the current value type as a conditional. * Nested if blocks * Use next char instead of next linefeed. * Remove debug lines. * Keep Atom Base Variable sepecfic code. * Fix position of endif * Add Raise for void type * Add void and FSM specific logic * Add is numeric conditional * Add more type specific logic * Add is Vector to generator. * Add type specific logic * Add collider type * Add color specific logic * Working on whitespace diffs * Working on whitespace diffs * remove unused test assembly * removed example nested if * test comment removed after regen * missing ValueEquals * missing ValueEquals on colliders * missing color speciifc code. * whitesapce cleanup * whitesapce cleanup * whitesapce cleanup * whitesapce cleanup * whitesapce cleanup * whitesapce cleanup * remove temp debug * Generated events now follows editoconfig. + Inline conditionals now supports white spaces. Co-authored-by: jrmacgill <jmacgill@gmail.com> Co-authored-by: Adam Ramberg <adam@mambojambostudios.com> * Fix Sub FSM Value Set issue (#178) * Default Value For Changed and ChangedWithHistory (#179) * Changed now is created even if null * Added changedwithhistory * Removed initial implementation * #179 - Fixes to AtomDrawer + FSM editor * Added StartCleared to ValueList (#180) * Added StartCleared to ValueLists closes #175 * Update BaseAtomValueList.cs * Made StartCleared Protected * #180 - Minor style fix * Creating new atom in current directory improvement (#184) * small improvement for creating new atoms in inspector window * fixed getting directory path instead of full file path * 🧞♀️ v4.3.0 * Unity Atoms Input System Integration This is just a quick demo to suggest to the Unity Atoms team. There 'was' a line on the github that said to contact you... but creating a Pull Request is the more funner way of doing things. Here we have a YouTube link that explains what these scripts are for. The scene is a bit bare bones since testbed and all that. https://www.youtube.com/watch?v=q7W8FyTIriQ&feature=youtu.be * Input System Interpreters and Workflow cemented No in-game demo this time D:< but I did make a video to explain the workflow, because it beats writing you a 3 page pdf: https://www.youtube.com/watch?v=g7mCpOZpJ4I Like I say in the video, 2 things I still want to do before final: 1. Create ALL the Interpreters! (Mostly things like support for EyeControls.) 2. Write a few lines of documentation. 2 Interpreters I still need to create are for Double and Quaternion, which will then need accompanying Variables and Events. I was wondering if I should push these separately to the base atoms package. * Add Double and Quaternion Variables to BaseAtoms I also put some comments in RegenerateAllAtoms for some clear separation. * Add InputSystem 1.0.1 as a dependency Updates the README as well. * Generator support for nested types If a type is nested, e.g. class Foo.Bar, the Generator will now correctly resolve to: public abstract class Foo_BarAction : AtomAction<Foo.Bar> Dots are replaced with underscores. This way it is certain the resolved type won't conflict with any Microsoft Standard types (their naming conventions forbid it). It is recommended the type name is still changed by the programmer afterwards. ^ in fact, I wanted to make an extra field for this in the generator editor to help with this, but I have not much experience with uielements and the codebase relied heavily on _valueType making it an uphill battle for a later date perhaps. Note that I had to change GeneratorEditor and RegenerateAllAtoms as well, since these were erasing the changes from the Generator.CreateTemplateVariablesMap method (good one guys, ya got me). You might think I missed capitalizing the templateVariables["VALUE_TYPE_NAME"], but this already happens in that Maps method. * Remove version defines on assemblies This is no longer needed now that the InputSystem is a dependency of this package. * Add the PlayerInput and CallbackContext to RegenerateAllAtoms With it, all the atoms generated from PlayerInput and CallbackContext have been regenerated as well, so this push may appear bigger than it really is. Only RegenerateAllAtoms.cs has changed significantly. * Add Double- and QuaternionInterpreter + icons The icon just felt missing. If you had a different color in mind just send me a file. * Revert bad stuff oeps * - Add docs - Fixed bug in Stack Trace Entry that was found during testing - Regenerated all atoms -> added missing editor files - Reverted changes in Generator since it caused issues. * Regenerate editor scripts again after adding generator fix * Added auto generated docs for input system * Dont use guids as references in asmdef * More fixes to get input system docs to show on website * Add input system to table of contents Co-authored-by: Adam Ramberg <andersson.adam.89@gmail.com> Co-authored-by: AdamRamberg <adam@mambojambostudios.com> Co-authored-by: Ignacio Ruiz <ignacio.ruiz.292@gmail.com> Co-authored-by: Oliver Biwer <soraphis@users.noreply.github.com> Co-authored-by: IceTrooper <51023959+IceTrooper@users.noreply.github.com> Co-authored-by: Ice_trooper <trooperice@gmail.com> Co-authored-by: Low Jiahao <fakegood@users.noreply.github.com> Co-authored-by: Lucas Ribeiro <ribeiroferreiralucas@gmail.com> Co-authored-by: Enderlook <enderlook@gmail.com> Co-authored-by: Ignacio Ruiz <11753209+iruizmar@users.noreply.github.com> Co-authored-by: Ignacio Ruiz <iruizm@hiberus.com> Co-authored-by: Moh Narimani <sorencoder@gmail.com> Co-authored-by: Bastien Guyl <bastien@guyl.me> Co-authored-by: Bastien Guyl <bguyl@smart-tale.com> Co-authored-by: jmacgill <jmacgill@google.com> Co-authored-by: jrmacgill <jmacgill@gmail.com> Co-authored-by: Gustavo Guimaraes <gustavo.ceci95@gmail.com> Co-authored-by: Michael Liu <Michael.Liu0@Gmail.com>
53 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>
.
Collider2DPairEventReferenceListener
Event Reference Listener of type Collider2DPair
. Inherits from AtomEventReferenceListener<Collider2DPair, Collider2DPairEvent, Collider2DPairEventReference, Collider2DPairUnityEvent>
.
IntEventReferenceListener
Event Reference Listener of type int
. Inherits from AtomEventReferenceListener<int, IntEvent, IntEventReference, IntUnityEvent>
.
ColliderEventReferenceListener
Event Reference Listener of type Collider
. Inherits from AtomEventReferenceListener<Collider, ColliderEvent, ColliderEventReference, ColliderUnityEvent>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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.
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>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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.
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.
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>
.
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>
.
BoolPairEvent
Event of type BoolPair
. Inherits from AtomEvent<BoolPair>
.
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>
.
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>
.
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>
.
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>
.
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>
.
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.