Call() public method

public Call ( object obj, ScriptObject parameters ) : object
obj object
parameters Scorpio.ScriptObject
return object
コード例 #1
0
 /// <summary> 创建一个实例 </summary>
 public override ScriptUserdata CreateInstance(ScriptValue[] parameters, int length)
 {
     return(new ScriptUserdataObject(m_Constructor.Call(false, null, parameters, length), this));
 }
コード例 #2
0
 /// <summary> 创建一个实例 </summary>
 public override object CreateInstance(ScriptObject[] parameters)
 {
     InitializeConstructor();
     return(m_Constructor.Call(null, parameters));
 }