コード例 #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
ファイル: UsBootstrap.cs プロジェクト: georgeguogit/usmooth
 void Start()
 {
     _usmooth = new UsMain(LogRemotely, LogIntoFile, InGameGui);
 }
コード例 #4
0
ファイル: UsBootstrap.cs プロジェクト: zhukunqian/usmooth
 void Start()
 {
     _usmooth = new UsMain(LogRemotely, LogIntoFile, InGameGui);
 }