Beispiel #1
0
        public static void TestFunc7(List <object> values)
        {
            TestFix instance = values[0] as TestFix;
            object  value    = values[1];
            var     type     = value.GetType();
            object  value2   = values[2];

            Debug.Log("热补丁" + type.Name + "  +  " + value2);
        }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        luaenv = new LuaEnv();
        //luaenv.DoString("CS.UnityEngine.Debug.Log('hello world')");
        luaenv.DoString(luaScript.text);

        //LuaMax max = luaenv.Global.GetInPath<LuaMax>("math.max");
        //Debug.Log("max:" + max(32, 12));

        TestFix fix = new TestFix();

        Debug.Log("计算结果=" + fix.Add(10, 20));
    }
Beispiel #3
0
 public static void TestFunc6(TestFix testFix, string a, int b)
 {
     Debug.Log("热补丁" + a + "  +  " + b);
 }
Beispiel #4
0
 public static void TestFunc4(TestFix testFix, RefOutParam <int> a, RefOutParam <string> b)
 {
     a.value = 500;
     b.value = "hello world!!!!!!!!!!!!hotfix";
     Debug.Log("热补丁" + a.value + "  +  " + b.value);
 }
Beispiel #5
0
 public static void TestFunc5(TestFix testFix, int a, string b)
 {
     Debug.Log("热补丁" + a + "  +  " + b);
 }
Beispiel #6
0
 public static int TestFunc3(TestFix testFix, int a, int b)
 {
     Debug.Log("热补丁int 返回" + a + "  +  " + b);
     return(a + b * 100);
 }
Beispiel #7
0
 public static void TestFunc2(TestFix testFix, string b)
 {
     Debug.Log("热补丁" + b);
 }
Beispiel #8
0
 public static void TestFunc1(TestFix testFix, int a)
 {
     Debug.Log("热补丁" + a);
 }
Beispiel #9
0
 public static void TestFunc(TestFix testFix)
 {
     Debug.Log("热补丁");
 }
Beispiel #10
0
 public static void Update(TestFix testFix)
 {
     Debug.Log("热更新");
 }