Exemplo n.º 1
0
        public static void Init()
        {
            Type      type  = typeof(StackTraceUtility);
            FieldInfo field = type.GetField("projectFolder", BindingFlags.Static | BindingFlags.GetField | BindingFlags.NonPublic);

            LuaException.projectFolder = (string)field.GetValue(null);
            projectFolder = projectFolder.Replace('\\', '/');
#if DEVELOPER
            Debugger.UF_Log("projectFolder is {0}", projectFolder);
#endif
        }