/// <summary> 创建一个实例 </summary> public override ScriptUserdata CreateInstance(ScriptValue[] parameters, int length) { return(new ScriptUserdataObject(m_Constructor.Call(false, null, parameters, length), this)); }
/// <summary> 创建一个实例 </summary> public override object CreateInstance(ScriptObject[] parameters) { InitializeConstructor(); return(m_Constructor.Call(null, parameters)); }