public override void OnBehaviourPlay(UnityEngine.Playables.Playable playable, FrameData info)
        {
            //TODO add a function in all animation to "reset init state" for when it stops,
            //TODO because it's not enough in case of from tween

            Target.UpdateMode = AnimationUpdateType.MANUAL;
            Target.Play();
            Target?.GoToTime(Time(playable));
        }
 public override void OnGraphStop(UnityEngine.Playables.Playable playable)
 {
     //reset when stoppping the graph
     Target.GoToTime(0);
     Target.UpdateMode = previousType;
 }