示例#1
0
    // Use this for initialization
    void Start()
    {
        _usmooth = new UsMain(LogRemotely, LogIntoFile, InGameGui);

#if UNITY_5
        Application.logMessageReceived += this.log;
#else
        Application.RegisterLogCallback(this.log);
#endif
        Lua.Instance.InitLuaProfiler();
    }
示例#2
0
    void Start()
    {
        _usmooth = new UsMain(LogRemotely, LogIntoFile, InGameGui);

#if UNITY_EDITOR
        EditorWindow w = EditorWindow.GetWindow <EditorWindow>("MemoryProfilerWindow");
        if (w.GetType().Name == "MemoryProfilerWindow")
        {
            w.SendEvent(EditorGUIUtility.CommandEvent("AppStarted"));
        }
#endif
        ResourceTracker.Instance = new ResourceTracker(true);
    }
示例#3
0
 void Start()
 {
     _usmooth = new UsMain(LogRemotely, LogIntoFile, InGameGui);
 }
示例#4
0
 void Start()
 {
     _usmooth = new UsMain(LogRemotely, LogIntoFile, InGameGui);
 }