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

RemoveInput() public method

public RemoveInput ( AnimationPlayable playable ) : bool
playable AnimationPlayable
return bool
        public override bool RemoveInput(AnimationPlayable playable)
        {
            Debug.LogError("AnimationClipPlayable doesn't support removing inputs");
            return false;
        }

Same methods

AnimatorControllerPlayable::RemoveInput ( int index ) : bool

Usage Example

 static public int RemoveInput(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(UnityEngine.Experimental.Director.AnimationPlayable)))
         {
             UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
             UnityEngine.Experimental.Director.AnimationPlayable          a1;
             checkType(l, 2, out a1);
             var ret = self.RemoveInput(a1);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         else if (matchType(l, argc, 2, typeof(int)))
         {
             UnityEngine.Experimental.Director.AnimatorControllerPlayable self = (UnityEngine.Experimental.Director.AnimatorControllerPlayable)checkSelf(l);
             System.Int32 a1;
             checkType(l, 2, out a1);
             var ret = self.RemoveInput(a1);
             pushValue(l, true);
             pushValue(l, ret);
             return(2);
         }
         pushValue(l, false);
         LuaDLL.lua_pushstring(l, "No matched override function to call");
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }