Пример #1
0
        //载入一个函数
        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);
        }
Пример #2
0
 private void InitializeComponent()
 {
     Global.AddFileld("_G", Global);
 }