protected override void FillContextMenu(ContextMenu contextMenu) { if (PlatformUtils.IsStandalone) { contextMenu.AddItem("Open song folder", () => SongMetaUtils.OpenDirectory(SongMeta)); } }
protected override void FillContextMenu(ContextMenu contextMenu) { contextMenu.AddItem(I18NManager.GetTranslation(R.String.action_reloadSong), () => SongMeta.Reload()); contextMenu.AddItem(I18NManager.GetTranslation(R.String.action_openSongEditor), () => songSelectSceneController.StartSongEditorScene()); if (PlatformUtils.IsStandalone) { contextMenu.AddItem(I18NManager.GetTranslation(R.String.action_openSongFolder), () => SongMetaUtils.OpenDirectory(SongMeta)); AddPlaylistContextMenuItems(contextMenu); } contextMenu.AddSeparator(); }
protected override void FillContextMenu(ContextMenu contextMenu) { #if UNITY_STANDALONE contextMenu.AddItem("Open song folder", () => SongMetaUtils.OpenDirectory(SongMeta)); #endif }