internal static AnimatorControllerPlayable FindAnimatorControllerPlayable(Animator animator, AnimatorController controller) { AnimatorControllerPlayable result = default(AnimatorControllerPlayable); AnimatorController.FindAnimatorControllerPlayableInternal(ref result, animator, controller); return(result); }
internal static AnimatorControllerPlayable FindAnimatorControllerPlayable(Animator animator, AnimatorController controller) { PlayableHandle handle = default(PlayableHandle); AnimatorController.FindAnimatorControllerPlayableInternal(ref handle, animator, controller); AnimatorControllerPlayable result; if (!handle.IsValid()) { result = AnimatorControllerPlayable.Null; } else { result = new AnimatorControllerPlayable(handle); } return(result); }
internal static AnimatorControllerPlayable FindAnimatorControllerPlayable(Animator animator, AnimatorController controller) { PlayableHandle playableHandle = default(PlayableHandle); AnimatorController.FindAnimatorControllerPlayableInternal(ref playableHandle, animator, controller); AnimatorControllerPlayable result; if (!playableHandle.IsValid()) { result = null; } else { AnimatorControllerPlayable @object = playableHandle.GetObject <AnimatorControllerPlayable>(); result = @object; } return(result); }