예제 #1
0
        protected override void OnEnable()
        {
            base.OnEnable();
            s_AppStatusBar          = this;
            m_autoLightBakingOn     = GetBakeMode();
            m_ManagedDebuggerToggle = new ManagedDebuggerToggle();
            m_CacheServerToggle     = new CacheServerToggle();

            Progress.added   += RefreshProgressBar;
            Progress.removed += RefreshProgressBar;
            Progress.updated += RefreshProgressBar;
        }
예제 #2
0
        protected override void OnEnable()
        {
            base.OnEnable();
            s_AppStatusBar          = this;
            m_autoLightBakingOn     = GetBakeMode();
            m_ManagedDebuggerToggle = new ManagedDebuggerToggle();
            m_CacheServerToggle     = new CacheServerToggle();
            m_EventInterests.wantsLessLayoutEvents = true;
            m_DrawExtraFeatures = ModeService.HasCapability(ModeCapability.StatusBarExtraFeatures, true);

            Progress.added   += RefreshProgressBar;
            Progress.removed += RefreshProgressBar;
            Progress.updated += RefreshProgressBar;
        }