Call() public method

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