protected override void OnEnable() { base.OnEnable(); s_AppStatusBar = this; m_ManagedDebuggerToggle = new ManagedDebuggerToggle(); Progress.OnAdded += RefreshProgressBar; Progress.OnRemoved += RefreshProgressBar; Progress.OnUpdated += RefreshProgressBar; }
protected override void OnEnable() { base.OnEnable(); s_AppStatusBar = this; s_StatusWheel = new GUIContent[12]; for (int i = 0; i < 12; i++) { s_StatusWheel[i] = EditorGUIUtility.IconContent("WaitSpin" + i.ToString("00")); } s_AssemblyLock = EditorGUIUtility.IconContent("AssemblyLock", "|Assemblies are currently locked. Compilation will resume once they are unlocked"); m_ManagedDebuggerToggle = new ManagedDebuggerToggle(); }
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; }
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; }