public static Option <TimeScale> FindTimeScale(this IAnimationGraph graph, string path) { Ensure.Any.IsNotNull(graph, nameof(graph)); return(graph.FindDescendantControl <TimeScale>(path)); }
public static Option <SeekableAnimator> FindSeekableAnimator(this IAnimationGraph graph, string path) { Ensure.Any.IsNotNull(graph, nameof(graph)); return(graph.FindDescendantControl <SeekableAnimator>(path)); }
public static Option <Blender2D> FindBlender2D(this IAnimationGraph graph, string path) { Ensure.Any.IsNotNull(graph, nameof(graph)); return(graph.FindDescendantControl <Blender2D>(path)); }
public static Option <IAnimator> FindAnimator(this IAnimationGraph graph, string path) { Ensure.That(graph, nameof(graph)).IsNotNull(); return(graph.FindDescendantControl <IAnimator>(path)); }