Checking conditions visually


Unity Animator have  a very neat trick. You can define parameters and use them to define conditions for transitions. No need to write custom function for each transition

.


However, it is limited to Unity Animator. That's why I designed my own condition system, allowing any MonoBehaviour or SO to have "Condition" fields. Here's one in action:


Similar to Animator, it supports 3 data types: Bool, Int and Float with basic comparison operations. But is is simple enough to extend to other data types and operation if needed in the future.

Leave a comment

Log in with itch.io to leave a comment.