コード例 #1
0
ファイル: JSContext.cs プロジェクト: shunfy/unity-jsb
 public void SetProperty(JSValue this_obj, string name, JSCFunction fn, int length = 0)
 {
     JSApi.JS_SetPropertyStr(this, this_obj, name, JSApi.JS_NewCFunction(this, fn, name, length));
 }