10 if (!IsGameMode(item))
18 MusicManager musicManager = world.GetMusicManager();
25 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
35 MusicManager musicManager = world.GetMusicManager();
40 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_ATTRIBUTES_ENABLED_AMBIENT_MUSIC, playerID);
42 SCR_NotificationsComponent.SendToEveryone(
ENotification.EDITOR_ATTRIBUTES_DISABLED_AMBIENT_MUSIC, playerID);
44 musicManager.RequestServerMuteCategory(
MusicCategory.Ambient, !var.GetBool());