Conditioner
IseeGames
$4.80
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
05/17(2018) |
4.8 |
11/18(2024) |
4.8 |
Jump AssetStore
Conditioner allows you to perform various checks on different fields located in your scripts or other components. Then gives you the ability to set fields or properties in any script or component to specified values you may also Invoke methods.
The conditioner component comprises of 5 section
* The check
- Here is where you will perform a check. Example: Checking if the value in a int variable is greater than 10
* Section A
- Here is where you will set fields and properties and provide methods. If the condition is TRUE these changes will be applied and all methods provided will be invoked. Example: If the int variable is indeed greater than 10, disable GameObject 'B', set a bool field to true, increment a int field. minus 1 from the x field of a vector 3 etc
-Section B
- Here is where you will set fields and properties and provide methods. If the condition is FALSE these changes will be applied.
*Section C
- Here is where you will set fields and properties and provide methods. These changes will be applied when you call the method 'InvokeManualFieldChanges'
*Section D - Access to unity events such as
~Start
~OnTriggerEnter
~OnTriggerExit
~OnTriggerStay
~OnDestroy
~OnParticleCollision
~etc..
You can use the events in section D to perform checks or do just about anything unity default events support.
Data Types that can be set include:
Strings,Bools,Integers,Singles,Vector3s
Data Types that can be checked:
Strings,Bools,Integers,Singles
OPERATIONS THAT MAYBE PERFORMED ON FIELDS/PROPERTIES
Update
Concatenate
Add
Subtract
Multiply
Divide
Assign - Assign the value of an existing field to the field/property
Update - Change the value of the field/property to a specific value
Variables - Conditioner comes with variable scripts. Variables are simply scripts that contain one variable very useful when you want to keep track of something but don't want to make a new script to store it. Just add a variable to a GameObject and that's it!