static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.ScriptPlayableOutput o;
         o = new UnityEngine.Experimental.Director.ScriptPlayableOutput();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
コード例 #2
0
        public ScriptPlayableOutput CreateScriptOutput(string name)
        {
            ScriptPlayableOutput scriptPlayableOutput = default(ScriptPlayableOutput);
            ScriptPlayableOutput result;

            if (!PlayableGraph.InternalCreateScriptOutput(ref this, name, out scriptPlayableOutput.m_Output))
            {
                result = ScriptPlayableOutput.Null;
            }
            else
            {
                result = scriptPlayableOutput;
            }
            return(result);
        }
コード例 #3
0
        public ScriptPlayableOutput GetScriptOutput(int index)
        {
            ScriptPlayableOutput scriptPlayableOutput = default(ScriptPlayableOutput);
            ScriptPlayableOutput result;

            if (!PlayableGraph.InternalGetScriptOutput(ref this, index, out scriptPlayableOutput.m_Output))
            {
                result = ScriptPlayableOutput.Null;
            }
            else
            {
                result = scriptPlayableOutput;
            }
            return(result);
        }
コード例 #4
0
 public void DestroyOutput(ScriptPlayableOutput output)
 {
     PlayableGraph.InternalDestroyOutput(ref this, ref output.m_Output);
 }