registerState
fun registerState(anim: Animation<KeyFrameType>, priority: Int, loop: Boolean = true, reason: () -> Boolean = { true })
Priority is represented by the deepest. The deepest has top priority while the shallowest has lowest.
Priority is represented by the deepest. The deepest has top priority while the shallowest has lowest.