Checking conditions visually
Chalk Stories - Lonely Oni » Devlog
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.
Chalk Stories - Lonely Oni
Status | In development |
Author | aklgupta |
More posts
- First artwork pieces and character designNov 02, 2019
Leave a comment
Log in with itch.io to leave a comment.