Compare two variable


New member
I have two variables that I want to compare. I suppose I need to use Conditional Evaluator, but I didn't find any documentation about that.

How I do it? Where I found extensive documentation for other component in the system (Conditional Evaluator, Compare Property Value, Compare Field Value, etc )



Staff member
What type of variables are they? There are a few conditional tasks that you can use, such as:

Compare Float
Compare Shared Bool
Compare Shared Int
Compare Shared GameObject

Instead of using a Conditional Evaluator you should first try using conditional aborts as those will cover the majority of use cases:



Staff member
When you have the graph open if you click the space bar a quick search window will popup. If you then type compare you'll see a listing of all of the compare tasks.