static public int constructor(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.Animations.AnimationPlayableOutput o; o = new UnityEngine.Animations.AnimationPlayableOutput(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int constructor(IntPtr l) { try { UnityEngine.Animations.AnimationPlayableOutput o; o = new UnityEngine.Animations.AnimationPlayableOutput(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
public static AnimationPlayableOutput Create(PlayableGraph graph, string name, Animator target) { PlayableOutputHandle handle; if (!AnimationPlayableGraphExtensions.InternalCreateAnimationOutput(ref graph, name, out handle)) { return(AnimationPlayableOutput.Null); } AnimationPlayableOutput output = new AnimationPlayableOutput(handle); output.SetTarget(target); return(output); }
public static AnimationPlayableOutput Create(PlayableGraph graph, string name, Animator target) { PlayableOutputHandle handle; AnimationPlayableOutput result; if (!AnimationPlayableGraphExtensions.InternalCreateAnimationOutput(ref graph, name, out handle)) { result = AnimationPlayableOutput.Null; } else { AnimationPlayableOutput animationPlayableOutput = new AnimationPlayableOutput(handle); animationPlayableOutput.SetTarget(target); result = animationPlayableOutput; } return(result); }
private static PlayableOutput CreateAnimationOutput(PlayableGraph graph, string name) { return((PlayableOutput)AnimationPlayableOutput.Create(graph, name, null)); }
public void SetTarget(Animator value) { AnimationPlayableOutput.InternalSetTarget(ref this.m_Handle, value); }
public Animator GetTarget() { return(AnimationPlayableOutput.InternalGetTarget(ref this.m_Handle)); }
private static void InternalSetTarget(ref PlayableOutputHandle handle, Animator target) { AnimationPlayableOutput.INTERNAL_CALL_InternalSetTarget(ref handle, target); }
private static Animator InternalGetTarget(ref PlayableOutputHandle handle) { return(AnimationPlayableOutput.INTERNAL_CALL_InternalGetTarget(ref handle)); }