예제 #1
0
 public static void BeginClass(string classname, string baseclassname)
 {
     LuaAPI.BeginClass(LuaEnv.L, classname, baseclassname);
 }
예제 #2
0
    public static void BeginClass(Type classType, Type baseclassType)
    {
        int idx = ObjectTranslator.Instance.PushObj(classType);

        LuaAPI.BeginClass(LuaEnv.L, classType.Name, baseclassType != null ? baseclassType.Name : null, idx);
    }