Exemplo n.º 1
0
        void OnEnable()
        {
            this.wantsMouseMove = true;
            resolution = (Resolution) EditorPrefs.GetInt("pb_Profiler.resolution", 2);
            EditorApplication.update -= Update;
            EditorApplication.update += Update;

            sampleView = new SampleTree();
        }