LuaInterface.LuaException.Init C# (CSharp) Method

Init() public static method

public static Init ( ) : void
return void
        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.Log("projectFolder is {0}", projectFolder);
            #endif
        }