internal ScriptPlayableOutput(PlayableOutputHandle handle) { if (handle.IsValid()) { if (!handle.IsPlayableOutputOfType <ScriptPlayableOutput>()) { throw new InvalidCastException("Can't set handle: the playable is not a ScriptPlayableOutput."); } } this.m_Handle = handle; }