//载入一个函数 internal bool LoadFunction(string name, Action fun, int argCount, bool isUncertainParameters = false) { ScriptObject s = ScriptObject.CreateFunction(fun, argCount, isUncertainParameters); Global.AddFileld(name, s); return(true); }
private void InitializeComponent() { Global.AddFileld("_G", Global); }