Replies: 2 comments
-
Hi, this feature has been added in 3.11.0 public RuntimeAnimatorController animController;
[AnimatorState(nameof(animController))] public AnimatorState animState; |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for implementing it! I really appreciate it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, AnimatorState can only specify an Animator, but would it be possible to allow specifying a RuntimeAnimatorController instead?
Looking at the implementation of AnimatorStateAttributeDrawer, it seems to only use Animator.runtimeAnimatorController, so it appears feasible.
If RuntimeAnimatorController could be specified, it would enable AnimatorState to be used with ScriptableObject and other assets, which would be extremely convenient.
Beta Was this translation helpful? Give feedback.
All reactions