Пример #1
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);
        }