예제 #1
0
        public static Option <TimeScale> FindTimeScale(this IAnimationGraph graph, string path)
        {
            Ensure.Any.IsNotNull(graph, nameof(graph));

            return(graph.FindDescendantControl <TimeScale>(path));
        }
예제 #2
0
        public static Option <SeekableAnimator> FindSeekableAnimator(this IAnimationGraph graph, string path)
        {
            Ensure.Any.IsNotNull(graph, nameof(graph));

            return(graph.FindDescendantControl <SeekableAnimator>(path));
        }
예제 #3
0
        public static Option <Blender2D> FindBlender2D(this IAnimationGraph graph, string path)
        {
            Ensure.Any.IsNotNull(graph, nameof(graph));

            return(graph.FindDescendantControl <Blender2D>(path));
        }
예제 #4
0
        public static Option <IAnimator> FindAnimator(this IAnimationGraph graph, string path)
        {
            Ensure.That(graph, nameof(graph)).IsNotNull();

            return(graph.FindDescendantControl <IAnimator>(path));
        }