1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using UnityEngine.Animations;
- namespace Animancer
- {
-
-
-
-
-
-
-
-
-
- public abstract class AnimancerJob<T> where T : struct, IAnimationJob
- {
-
-
- protected T _Job;
-
- protected AnimationScriptPlayable _Playable;
-
-
- protected void CreatePlayable(AnimancerPlayable animancer)
- {
- _Playable = animancer.InsertOutputJob(_Job);
- }
-
-
-
-
-
-
-
-
- public virtual void Destroy()
- {
- AnimancerUtilities.RemovePlayable(_Playable);
- }
-
- }
- }
|