UnityEngine.Experimental.Director.AnimatorControllerPlayable.SetInput C# (CSharp) Method

SetInput() public method

public SetInput ( AnimationPlayable source, int index ) : bool
source AnimationPlayable
index int
return bool
        public override bool SetInput(AnimationPlayable source, int index)
        {
            Debug.LogError("AnimationClipPlayable doesn't support setting inputs");
            return false;
        }

Usage Example

 static public int SetInput(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
         UnityEngine.Experimental.Director.AnimationPlayable          a1;
         checkType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         var ret = self.SetInput(a1, a2);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }