Closed BigBoot closed 3 years ago
Nice idea, I like it a lot! I definitely have _playback = (AnimationNodeStateMachinePlayback)_animator.Get("parameters/playback");
in a few ready methods, myself. 😄
A couple implementation details that jump to mind:
OnReadyGet
s pointing at various properties of the same target, the generated method should only call GetNode
once.
OnReadyGet
that has no Property
, if one exists._playback
example at all.)OrNull
would be nice.I would definitely be interested in taking a PR. 🙂 If that doesn't work out, I'll take a look at it next time I run into a place this would be useful for me.
Would be useful for example for AnimationTree, something like this:
Please tell me what you think, if you wan't I can also have a go at implementing this and submitting a PR.