animancer icon indicating copy to clipboard operation
animancer copied to clipboard

Include examples for `ITransitionGUI` on documentation site

Open daenius opened this issue 1 year ago • 0 comments

Use Case

The ability to easily create decorators for the various AnimancerTransition<TState> for any situation is one of the best features provided by Animancer and it was demonstrated in the Root Motion examples on the documentation site. Users would benefit from a simple breakdown of how to easily extend the editor UI for their custom subclasses.

Solution

Just something like showing how to add an extra Button and draw an extra Rect to showcase the lifecycle and how each of the functions in ITransitionGUI should be implement would suffice.

Alternatives

Platform Game Kit has this, you could just link the code something like AttackTransition would do the trick too


Thanks!

daenius avatar Feb 11 '24 22:02 daenius