Пример #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;
        }