From 8d8c275e66ee0cc1958cd3303885463b904dffa1 Mon Sep 17 00:00:00 2001 From: thinedave <94513260+thinedave@users.noreply.github.com> Date: Wed, 13 Dec 2023 16:04:33 -0800 Subject: [PATCH] Replace hardcoded Tooltip.AddTooltip() calls with TooltipGiver script in GameObject (#593) * Remove all hardcoded Tooltip.AddTooltip() calls * Add TooltipGiver component where previously hardcoded * Add TooltipGiver.cs * Revert "Add TooltipGiver component where previously hardcoded" This reverts commit 45ef0fb0bcf05464230a9a2da77eb716fc4b984d. * Add TooltipGiver component where previously hardcoded * Remove cherry-pick residue --- .../Prefabs/GameView/GameTex.renderTexture | 4 +- .../Prefabs/GameView/OverlayTex.renderTexture | 4 +- Assets/Scenes/Editor.unity | 595 +++++++++++++++++- Assets/Scripts/LevelEditor/Editor.cs | 20 +- Assets/Scripts/LevelEditor/EditorTheme.cs | 4 - .../Scripts/LevelEditor/Timeline/Timeline.cs | 25 - Assets/Scripts/LevelEditor/TooltipGiver.cs | 17 + .../Scripts/LevelEditor/TooltipGiver.cs.meta | 11 + 8 files changed, 619 insertions(+), 61 deletions(-) create mode 100644 Assets/Scripts/LevelEditor/TooltipGiver.cs create mode 100644 Assets/Scripts/LevelEditor/TooltipGiver.cs.meta diff --git a/Assets/Resources/Prefabs/GameView/GameTex.renderTexture b/Assets/Resources/Prefabs/GameView/GameTex.renderTexture index df7203cb..068e5c42 100644 --- a/Assets/Resources/Prefabs/GameView/GameTex.renderTexture +++ b/Assets/Resources/Prefabs/GameView/GameTex.renderTexture @@ -14,8 +14,8 @@ RenderTexture: m_DownscaleFallback: 0 m_IsAlphaChannelOptional: 0 serializedVersion: 5 - m_Width: 2560 - m_Height: 1440 + m_Width: 858 + m_Height: 482 m_AntiAliasing: 2 m_MipCount: -1 m_DepthStencilFormat: 92 diff --git a/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture b/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture index a88e21df..0a193358 100644 --- a/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture +++ b/Assets/Resources/Prefabs/GameView/OverlayTex.renderTexture @@ -14,8 +14,8 @@ RenderTexture: m_DownscaleFallback: 0 m_IsAlphaChannelOptional: 0 serializedVersion: 5 - m_Width: 3840 - m_Height: 2160 + m_Width: 1287 + m_Height: 723 m_AntiAliasing: 1 m_MipCount: -1 m_DepthStencilFormat: 92 diff --git a/Assets/Scenes/Editor.unity b/Assets/Scenes/Editor.unity index b99c0a46..44616737 100644 --- a/Assets/Scenes/Editor.unity +++ b/Assets/Scenes/Editor.unity @@ -348,6 +348,7 @@ GameObject: - component: {fileID: 9435784} - component: {fileID: 9435783} - component: {fileID: 9435782} + - component: {fileID: 9435785} m_Layer: 5 m_Name: PauseBTN m_TagString: Untagged @@ -458,6 +459,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 9435780} m_CullTransparentMesh: 1 +--- !u!114 &9435785 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9435780} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Pause [Shift + Space] --- !u!1 &13368643 GameObject: m_ObjectHideFlags: 0 @@ -3496,6 +3510,7 @@ GameObject: - component: {fileID: 121871282} - component: {fileID: 121871281} - component: {fileID: 121871284} + - component: {fileID: 121871285} m_Layer: 5 m_Name: AutoplayBTN m_TagString: Untagged @@ -3627,6 +3642,19 @@ Animator: m_AllowConstantClipSamplingOptimization: 1 m_KeepAnimatorStateOnDisable: 0 m_WriteDefaultValuesOnDisable: 0 +--- !u!114 &121871285 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 121871279} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Autoplay [P] --- !u!1 &129013732 GameObject: m_ObjectHideFlags: 0 @@ -3639,6 +3667,7 @@ GameObject: - component: {fileID: 129013736} - component: {fileID: 129013735} - component: {fileID: 129013734} + - component: {fileID: 129013737} m_Layer: 5 m_Name: MetronomeBTN m_TagString: Untagged @@ -3751,6 +3780,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 129013732} m_CullTransparentMesh: 1 +--- !u!114 &129013737 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 129013732} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Metronome [M] --- !u!1 &151246936 GameObject: m_ObjectHideFlags: 0 @@ -3763,6 +3805,7 @@ GameObject: - component: {fileID: 151246940} - component: {fileID: 151246939} - component: {fileID: 151246938} + - component: {fileID: 151246941} m_Layer: 5 m_Name: FullscreenBTN m_TagString: Untagged @@ -3885,6 +3928,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 151246936} m_CullTransparentMesh: 1 +--- !u!114 &151246941 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 151246936} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Preview [Tab] --- !u!1 &151438063 GameObject: m_ObjectHideFlags: 0 @@ -5005,7 +5061,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -399.99994, y: 0} + m_AnchoredPosition: {x: -399.9999, y: 0} m_SizeDelta: {x: -800.0001, y: 194} m_Pivot: {x: 0.5, y: 1} --- !u!114 &195260752 @@ -6406,6 +6462,7 @@ GameObject: - component: {fileID: 270008767} - component: {fileID: 270008766} - component: {fileID: 270008769} + - component: {fileID: 270008770} m_Layer: 5 m_Name: Selection m_TagString: Untagged @@ -6529,6 +6586,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Content: {fileID: 284286597} +--- !u!114 &270008770 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 270008764} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: 'Tool: Selection [1]' --- !u!1 &270434623 GameObject: m_ObjectHideFlags: 0 @@ -6779,6 +6849,7 @@ GameObject: - component: {fileID: 284286601} - component: {fileID: 284286600} - component: {fileID: 284286602} + - component: {fileID: 284286603} m_Layer: 5 m_Name: AllLayers m_TagString: Untagged @@ -6859,6 +6930,19 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e15bb84f43093e94d8360fa51074bb97, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!114 &284286603 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 284286597} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: All Special Tracks --- !u!1 &285739498 GameObject: m_ObjectHideFlags: 0 @@ -6871,6 +6955,7 @@ GameObject: - component: {fileID: 285739502} - component: {fileID: 285739501} - component: {fileID: 285739500} + - component: {fileID: 285739503} m_Layer: 5 m_Name: ChartParameters m_TagString: Untagged @@ -6993,6 +7078,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 285739498} m_CullTransparentMesh: 1 +--- !u!114 &285739503 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 285739498} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Remix Properties --- !u!1 &285804966 GameObject: m_ObjectHideFlags: 0 @@ -7535,7 +7633,7 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 14 + m_fontSize: 1.9 m_fontSizeBase: 14.3 m_fontWeight: 400 m_enableAutoSizing: 1 @@ -7839,6 +7937,7 @@ GameObject: - component: {fileID: 320483644} - component: {fileID: 320483643} - component: {fileID: 320483642} + - component: {fileID: 320483645} m_Layer: 5 m_Name: SearchBar m_TagString: Untagged @@ -8018,6 +8117,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 320483640} m_CullTransparentMesh: 1 +--- !u!114 &320483645 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 320483640} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Search Games --- !u!1 &330515826 GameObject: m_ObjectHideFlags: 0 @@ -8460,6 +8572,7 @@ GameObject: - component: {fileID: 345154596} - component: {fileID: 345154595} - component: {fileID: 345154594} + - component: {fileID: 345154597} m_Layer: 5 m_Name: Sort Games Chronologically m_TagString: Untagged @@ -8582,6 +8695,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 345154592} m_CullTransparentMesh: 1 +--- !u!114 &345154597 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 345154592} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Sort Chronologically --- !u!1 &345301789 GameObject: m_ObjectHideFlags: 0 @@ -10621,6 +10747,7 @@ GameObject: - component: {fileID: 456434812} - component: {fileID: 456434811} - component: {fileID: 456434814} + - component: {fileID: 456434815} m_Layer: 5 m_Name: Tempo Change m_TagString: Untagged @@ -10744,6 +10871,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Content: {fileID: 1511927530} +--- !u!114 &456434815 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 456434809} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: 'Tool: Tempo Change [2]' --- !u!1 &469226882 GameObject: m_ObjectHideFlags: 0 @@ -11228,7 +11368,7 @@ MonoBehaviour: m_TargetGraphic: {fileID: 171581557} m_HandleRect: {fileID: 171581556} m_Direction: 2 - m_Value: 0 + m_Value: 1 m_Size: 1 m_NumberOfSteps: 0 m_OnValueChanged: @@ -14312,6 +14452,7 @@ GameObject: - component: {fileID: 619618402} - component: {fileID: 619618401} - component: {fileID: 619618400} + - component: {fileID: 619618403} m_Layer: 5 m_Name: Settings m_TagString: Untagged @@ -14434,6 +14575,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 619618398} m_CullTransparentMesh: 1 +--- !u!114 &619618403 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 619618398} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Editor Settings [Ctrl+Shift+O] --- !u!1 &619942672 GameObject: m_ObjectHideFlags: 0 @@ -16158,6 +16312,7 @@ GameObject: - component: {fileID: 678553528} - component: {fileID: 678553527} - component: {fileID: 678553526} + - component: {fileID: 678553529} m_Layer: 5 m_Name: Save m_TagString: Untagged @@ -16280,6 +16435,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 678553524} m_CullTransparentMesh: 1 +--- !u!114 &678553529 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 678553524} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Save Project [Ctrl+S]\nSave Project As [Ctrl+Alt+S] --- !u!1 &680592159 GameObject: m_ObjectHideFlags: 0 @@ -16505,6 +16673,7 @@ GameObject: - component: {fileID: 683785377} - component: {fileID: 683785376} - component: {fileID: 683785375} + - component: {fileID: 683785378} m_Layer: 5 m_Name: Sort Games Alphabetically m_TagString: Untagged @@ -16627,6 +16796,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 683785373} m_CullTransparentMesh: 1 +--- !u!114 &683785378 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 683785373} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Sort Alphabetically --- !u!1 &683816221 GameObject: m_ObjectHideFlags: 0 @@ -16788,6 +16970,7 @@ GameObject: - component: {fileID: 689781279} - component: {fileID: 689781278} - component: {fileID: 689781281} + - component: {fileID: 689781282} m_Layer: 5 m_Name: Music Volume m_TagString: Untagged @@ -16911,6 +17094,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Content: {fileID: 954835803} +--- !u!114 &689781282 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 689781276} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: 'Tool: Music Volume [3]' --- !u!1 &690238905 GameObject: m_ObjectHideFlags: 0 @@ -21343,7 +21539,7 @@ MonoBehaviour: m_TargetGraphic: {fileID: 1589389272} m_HandleRect: {fileID: 1589389271} m_Direction: 2 - m_Value: 0 + m_Value: 1 m_Size: 1 m_NumberOfSteps: 0 m_OnValueChanged: @@ -21723,6 +21919,7 @@ GameObject: - component: {fileID: 932211467} - component: {fileID: 932211469} - component: {fileID: 932211468} + - component: {fileID: 932211470} m_Layer: 5 m_Name: SongBeat m_TagString: Untagged @@ -21849,6 +22046,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 932211466} m_CullTransparentMesh: 1 +--- !u!114 &932211470 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 932211466} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Current Beat --- !u!1 &933578816 GameObject: m_ObjectHideFlags: 0 @@ -22149,13 +22359,14 @@ GameObject: - component: {fileID: 954835807} - component: {fileID: 954835806} - component: {fileID: 954835805} + - component: {fileID: 954835809} m_Layer: 5 m_Name: MusicLayer m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &954835804 RectTransform: m_ObjectHideFlags: 0 @@ -22243,6 +22454,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 954835803} m_CullTransparentMesh: 1 +--- !u!114 &954835809 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 954835803} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Music Volume Track --- !u!1 &955129956 GameObject: m_ObjectHideFlags: 0 @@ -22331,6 +22555,7 @@ GameObject: - component: {fileID: 967717802} - component: {fileID: 967717801} - component: {fileID: 967717800} + - component: {fileID: 967717803} m_Layer: 5 m_Name: StartingVolume m_TagString: Untagged @@ -22511,6 +22736,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 967717798} m_CullTransparentMesh: 1 +--- !u!114 &967717803 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 967717798} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Starting Volume (%) --- !u!1 &971914989 GameObject: m_ObjectHideFlags: 0 @@ -22830,6 +23068,7 @@ GameObject: - component: {fileID: 991363087} - component: {fileID: 991363089} - component: {fileID: 991363088} + - component: {fileID: 991363090} m_Layer: 5 m_Name: StartingBPMLabel m_TagString: Untagged @@ -22956,6 +23195,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 991363086} m_CullTransparentMesh: 1 +--- !u!114 &991363090 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 991363086} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Starting Tempo (BPM) --- !u!1 &994602714 GameObject: m_ObjectHideFlags: 0 @@ -23925,6 +24177,7 @@ GameObject: - component: {fileID: 1055877581} - component: {fileID: 1055877580} - component: {fileID: 1055877579} + - component: {fileID: 1055877582} m_Layer: 5 m_Name: Music Select m_TagString: Untagged @@ -24047,6 +24300,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1055877577} m_CullTransparentMesh: 1 +--- !u!114 &1055877582 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1055877577} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Music Select --- !u!1 &1056099131 GameObject: m_ObjectHideFlags: 0 @@ -26115,7 +26381,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.5} m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: 0, y: 199.06123} + m_AnchoredPosition: {x: 0, y: 84.57143} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 1} --- !u!222 &1154875945 @@ -26201,6 +26467,7 @@ GameObject: - component: {fileID: 1158103141} - component: {fileID: 1158103140} - component: {fileID: 1158103139} + - component: {fileID: 1158103142} m_Layer: 5 m_Name: Paste m_TagString: Untagged @@ -26323,6 +26590,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1158103137} m_CullTransparentMesh: 1 +--- !u!114 &1158103142 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1158103137} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Paste [Ctrl+V] --- !u!1 &1161509768 GameObject: m_ObjectHideFlags: 0 @@ -27927,6 +28207,7 @@ GameObject: - component: {fileID: 1260206134} - component: {fileID: 1260206133} - component: {fileID: 1260206132} + - component: {fileID: 1260206135} m_Layer: 5 m_Name: Snap Settings m_TagString: Untagged @@ -28049,6 +28330,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1260206130} m_CullTransparentMesh: 1 +--- !u!114 &1260206135 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1260206130} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Snap Settings --- !u!1 &1264012261 GameObject: m_ObjectHideFlags: 0 @@ -28982,6 +29276,7 @@ GameObject: - component: {fileID: 1299088430} - component: {fileID: 1299088429} - component: {fileID: 1299088428} + - component: {fileID: 1299088431} m_Layer: 5 m_Name: StartingBPM m_TagString: Untagged @@ -29161,6 +29456,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1299088426} m_CullTransparentMesh: 1 +--- !u!114 &1299088431 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1299088426} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Starting Tempo (BPM) --- !u!1 &1310571273 GameObject: m_ObjectHideFlags: 0 @@ -30172,6 +30480,7 @@ GameObject: - component: {fileID: 1345846033} - component: {fileID: 1345846032} - component: {fileID: 1345846031} + - component: {fileID: 1345846034} m_Layer: 5 m_Name: PlayBTN m_TagString: Untagged @@ -30282,6 +30591,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1345846029} m_CullTransparentMesh: 1 +--- !u!114 &1345846034 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1345846029} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Play [Space] --- !u!1 &1351319782 GameObject: m_ObjectHideFlags: 0 @@ -30719,6 +31041,7 @@ GameObject: - component: {fileID: 1388945888} - component: {fileID: 1388945887} - component: {fileID: 1388945886} + - component: {fileID: 1388945889} m_Layer: 5 m_Name: Copy m_TagString: Untagged @@ -30841,6 +31164,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1388945884} m_CullTransparentMesh: 1 +--- !u!114 &1388945889 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1388945884} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Copy [Ctrl+C] --- !u!1 &1389663906 GameObject: m_ObjectHideFlags: 0 @@ -31317,7 +31653,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -399.99994, y: 0} + m_AnchoredPosition: {x: -399.9999, y: 0} m_SizeDelta: {x: -800.0001, y: 194} m_Pivot: {x: 0.5, y: 1} --- !u!114 &1426168094 @@ -31370,6 +31706,7 @@ GameObject: - component: {fileID: 1436105797} - component: {fileID: 1436105796} - component: {fileID: 1436105795} + - component: {fileID: 1436105798} m_Layer: 5 m_Name: Sort Games By Favorite m_TagString: Untagged @@ -31492,6 +31829,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1436105793} m_CullTransparentMesh: 1 +--- !u!114 &1436105798 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1436105793} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Sort By Favorite --- !u!1 &1436123037 GameObject: m_ObjectHideFlags: 0 @@ -32294,6 +32644,7 @@ GameObject: - component: {fileID: 1478799968} - component: {fileID: 1478799967} - component: {fileID: 1478799966} + - component: {fileID: 1478799969} m_Layer: 5 m_Name: Tempo Finder m_TagString: Untagged @@ -32416,6 +32767,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1478799964} m_CullTransparentMesh: 1 +--- !u!114 &1478799969 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1478799964} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Tempo Finder --- !u!1 &1489888670 GameObject: m_ObjectHideFlags: 0 @@ -33055,6 +33419,7 @@ GameObject: - component: {fileID: 1511927534} - component: {fileID: 1511927533} - component: {fileID: 1511927532} + - component: {fileID: 1511927536} m_Layer: 5 m_Name: TempoLayer m_TagString: Untagged @@ -33150,6 +33515,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1511927530} m_CullTransparentMesh: 1 +--- !u!114 &1511927536 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1511927530} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Tempo Track --- !u!1 &1516873909 GameObject: m_ObjectHideFlags: 0 @@ -34891,6 +35269,7 @@ GameObject: - component: {fileID: 1567318396} - component: {fileID: 1567318398} - component: {fileID: 1567318397} + - component: {fileID: 1567318399} m_Layer: 5 m_Name: SongTime m_TagString: Untagged @@ -35017,6 +35396,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1567318395} m_CullTransparentMesh: 1 +--- !u!114 &1567318399 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1567318395} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Current Time --- !u!1 &1575762741 GameObject: m_ObjectHideFlags: 0 @@ -35305,8 +35697,8 @@ MonoBehaviour: m_TargetGraphic: {fileID: 1220118245} m_HandleRect: {fileID: 1220118244} m_Direction: 2 - m_Value: 1 - m_Size: 1 + m_Value: 1.0000001 + m_Size: 0.302449 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -35469,6 +35861,7 @@ GameObject: - component: {fileID: 1627244370} - component: {fileID: 1627244369} - component: {fileID: 1627244368} + - component: {fileID: 1627244371} m_Layer: 5 m_Name: ZoomOut m_TagString: Untagged @@ -35579,6 +35972,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1627244366} m_CullTransparentMesh: 1 +--- !u!114 &1627244371 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1627244366} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Zoom Out --- !u!1 &1637160319 GameObject: m_ObjectHideFlags: 0 @@ -35839,6 +36245,7 @@ GameObject: - component: {fileID: 1647324175} - component: {fileID: 1647324174} - component: {fileID: 1647324177} + - component: {fileID: 1647324178} m_Layer: 5 m_Name: SectionLayer m_TagString: Untagged @@ -35932,6 +36339,19 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: e528ff67df36f6242bd525e4b3911f4e, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!114 &1647324178 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1647324172} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Remix Sections Track --- !u!1 &1651196874 GameObject: m_ObjectHideFlags: 0 @@ -36029,6 +36449,7 @@ GameObject: - component: {fileID: 1665554293} - component: {fileID: 1665554292} - component: {fileID: 1665554291} + - component: {fileID: 1665554294} m_Layer: 5 m_Name: Open m_TagString: Untagged @@ -36151,6 +36572,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1665554289} m_CullTransparentMesh: 1 +--- !u!114 &1665554294 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1665554289} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Open [Ctrl+O] --- !u!1 &1669671031 GameObject: m_ObjectHideFlags: 0 @@ -36399,6 +36833,7 @@ GameObject: - component: {fileID: 1683100752} - component: {fileID: 1683100751} - component: {fileID: 1683100750} + - component: {fileID: 1683100753} m_Layer: 5 m_Name: New m_TagString: Untagged @@ -36521,6 +36956,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1683100748} m_CullTransparentMesh: 1 +--- !u!114 &1683100753 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1683100748} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: New [Ctrl+N] --- !u!1 &1694213495 GameObject: m_ObjectHideFlags: 0 @@ -37312,6 +37760,7 @@ GameObject: - component: {fileID: 1747099765} - component: {fileID: 1747099764} - component: {fileID: 1747099763} + - component: {fileID: 1747099766} m_Layer: 5 m_Name: Undo m_TagString: Untagged @@ -37434,6 +37883,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1747099761} m_CullTransparentMesh: 1 +--- !u!114 &1747099766 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1747099761} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Undo [Ctrl+Z] --- !u!1 &1747224095 GameObject: m_ObjectHideFlags: 0 @@ -38029,6 +38491,7 @@ GameObject: - component: {fileID: 1783491360} - component: {fileID: 1783491359} - component: {fileID: 1783491362} + - component: {fileID: 1783491363} m_Layer: 5 m_Name: StopBTN m_TagString: Untagged @@ -38166,6 +38629,19 @@ MonoBehaviour: m_StringArgument: m_BoolArgument: 0 m_CallState: 2 +--- !u!114 &1783491363 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1783491357} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Stop [Space] --- !u!1 &1783963079 GameObject: m_ObjectHideFlags: 0 @@ -38177,6 +38653,7 @@ GameObject: - component: {fileID: 1783963080} - component: {fileID: 1783963082} - component: {fileID: 1783963081} + - component: {fileID: 1783963083} m_Layer: 5 m_Name: CurrentTempo m_TagString: Untagged @@ -38303,6 +38780,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1783963079} m_CullTransparentMesh: 1 +--- !u!114 &1783963083 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1783963079} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Current Tempo (BPM) --- !u!1 &1791483799 GameObject: m_ObjectHideFlags: 0 @@ -38820,6 +39310,7 @@ GameObject: - component: {fileID: 1832891386} - component: {fileID: 1832891385} - component: {fileID: 1832891384} + - component: {fileID: 1832891387} m_Layer: 5 m_Name: ZoomIn m_TagString: Untagged @@ -38930,6 +39421,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1832891382} m_CullTransparentMesh: 1 +--- !u!114 &1832891387 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1832891382} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Zoom In --- !u!1 &1837294681 GameObject: m_ObjectHideFlags: 0 @@ -40363,6 +40867,7 @@ GameObject: - component: {fileID: 1912889637} - component: {fileID: 1912889636} - component: {fileID: 1912889635} + - component: {fileID: 1912889638} m_Layer: 5 m_Name: ResetZoom m_TagString: Untagged @@ -40473,6 +40978,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1912889633} m_CullTransparentMesh: 1 +--- !u!114 &1912889638 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1912889633} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Zoom Reset --- !u!1 &1918556255 GameObject: m_ObjectHideFlags: 0 @@ -41913,6 +42431,8 @@ GameObject: - component: {fileID: 1992194284} - component: {fileID: 1992194285} - component: {fileID: 1992194286} + - component: {fileID: 1992194288} + - component: {fileID: 1992194287} m_Layer: 5 m_Name: PlaybackSpeed m_TagString: Untagged @@ -42056,6 +42576,35 @@ MonoBehaviour: m_FlexibleWidth: 1 m_FlexibleHeight: -1 m_LayoutPriority: 1 +--- !u!114 &1992194287 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1992194282} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 29c850cbdd078e94aa96bb4fb67cdc8e, type: 3} + m_Name: + m_EditorClassIdentifier: + audio: {fileID: 0} + image: {fileID: 0} + width: 0 + col: {r: 0, g: 0, b: 0, a: 0} +--- !u!114 &1992194288 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1992194282} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: The preview's playback speed. Right click to reset to 1.0 --- !u!1 &1993062349 GameObject: m_ObjectHideFlags: 0 @@ -44312,6 +44861,7 @@ GameObject: - component: {fileID: 2125404438} - component: {fileID: 2125404437} - component: {fileID: 2125404440} + - component: {fileID: 2125404441} m_Layer: 5 m_Name: Chart Sections m_TagString: Untagged @@ -44435,6 +44985,19 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: Content: {fileID: 1647324172} +--- !u!114 &2125404441 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2125404435} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: 'Tool: Beatmap Sections [4]' --- !u!1 &2127582756 GameObject: m_ObjectHideFlags: 0 @@ -44599,6 +45162,7 @@ GameObject: - component: {fileID: 2131880464} - component: {fileID: 2131880463} - component: {fileID: 2131880462} + - component: {fileID: 2131880465} m_Layer: 5 m_Name: Redo m_TagString: Untagged @@ -44721,6 +45285,19 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2131880460} m_CullTransparentMesh: 1 +--- !u!114 &2131880465 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2131880460} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2a525ece7c981f3418a70bbfa58c1146, type: 3} + m_Name: + m_EditorClassIdentifier: + TooltipText: Redo [Ctrl+Y or Ctrl+Shift+Z] --- !u!1 &2133056414 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/LevelEditor/Editor.cs b/Assets/Scripts/LevelEditor/Editor.cs index ee635424..3de6cb37 100644 --- a/Assets/Scripts/LevelEditor/Editor.cs +++ b/Assets/Scripts/LevelEditor/Editor.cs @@ -108,25 +108,7 @@ namespace HeavenStudio.Editor foreach (var minigame in EventCaller.instance.minigames) AddIcon(minigame); - - Tooltip.AddTooltip(NewBTN.gameObject, "New [Ctrl+N]"); - Tooltip.AddTooltip(OpenBTN.gameObject, "Open [Ctrl+O]"); - Tooltip.AddTooltip(SaveBTN.gameObject, "Save Project [Ctrl+S]\nSave Project As [Ctrl+Alt+S]"); - Tooltip.AddTooltip(UndoBTN.gameObject, "Undo [Ctrl+Z]"); - Tooltip.AddTooltip(RedoBTN.gameObject, "Redo [Ctrl+Y or Ctrl+Shift+Z]"); - Tooltip.AddTooltip(CopyBTN.gameObject, "Copy [Ctrl+C]"); - Tooltip.AddTooltip(PasteBTN.gameObject, "Paste [Ctrl+V]"); - Tooltip.AddTooltip(MusicSelectBTN.gameObject, "Music Select"); - Tooltip.AddTooltip(FullScreenBTN.gameObject, "Preview [Tab]"); - Tooltip.AddTooltip(TempoFinderBTN.gameObject, "Tempo Finder"); - Tooltip.AddTooltip(SnapDiagBTN.gameObject, "Snap Settings"); - Tooltip.AddTooltip(ChartParamBTN.gameObject, "Remix Properties"); - Tooltip.AddTooltip(SortAlphabetBTN.gameObject, "Sort Alphabetically"); - Tooltip.AddTooltip(SortFavoritesBTN.gameObject, "Sort By Favorite"); - Tooltip.AddTooltip(SortChronologicBTN.gameObject, "Sort Chronologically"); - Tooltip.AddTooltip(SearchBar.gameObject, "Search Games"); - - Tooltip.AddTooltip(EditorSettingsBTN.gameObject, "Editor Settings [Ctrl+Shift+O]"); + UpdateEditorStatus(true); BuildDateDisplay.text = GlobalGameManager.buildTime; diff --git a/Assets/Scripts/LevelEditor/EditorTheme.cs b/Assets/Scripts/LevelEditor/EditorTheme.cs index f167a777..dc79c412 100644 --- a/Assets/Scripts/LevelEditor/EditorTheme.cs +++ b/Assets/Scripts/LevelEditor/EditorTheme.cs @@ -70,10 +70,6 @@ namespace HeavenStudio.Editor tempoLayer.GetComponent().color = theme.properties.TempoLayerCol.Hex2RGB(); musicLayer.GetComponent().color = theme.properties.MusicLayerCol.Hex2RGB(); sectionLayer.GetComponent().color = theme.properties.SectionLayerCol.Hex2RGB(); - Tooltip.AddTooltip(specialLayers.gameObject, $"All Special Tracks"); - Tooltip.AddTooltip(tempoLayer.gameObject, $"Tempo Track"); - Tooltip.AddTooltip(musicLayer.gameObject, $"Music Volume Track"); - Tooltip.AddTooltip(sectionLayer.gameObject, $"Remix Sections Track"); layer.gameObject.SetActive(false); diff --git a/Assets/Scripts/LevelEditor/Timeline/Timeline.cs b/Assets/Scripts/LevelEditor/Timeline/Timeline.cs index ff753e35..36ac915e 100644 --- a/Assets/Scripts/LevelEditor/Timeline/Timeline.cs +++ b/Assets/Scripts/LevelEditor/Timeline/Timeline.cs @@ -310,33 +310,8 @@ namespace HeavenStudio.Editor.Track WaveformToggle(); }); - Tooltip.AddTooltip(SongBeat.gameObject, "Current Beat"); - Tooltip.AddTooltip(SongPos.gameObject, "Current Time"); - Tooltip.AddTooltip(CurrentTempo.gameObject, "Current Tempo (BPM)"); - - Tooltip.AddTooltip(PlayBTN.gameObject, "Play [Space]"); - Tooltip.AddTooltip(PauseBTN.gameObject, "Pause [Shift + Space]"); - Tooltip.AddTooltip(StopBTN.gameObject, "Stop [Space]"); - - Tooltip.AddTooltip(MetronomeBTN.gameObject, "Metronome [M]"); - Tooltip.AddTooltip(AutoplayBTN.gameObject, "Autoplay [P]"); - - Tooltip.AddTooltip(SelectionsBTN.gameObject, "Tool: Selection [1]"); - Tooltip.AddTooltip(TempoChangeBTN.gameObject, "Tool: Tempo Change [2]"); - Tooltip.AddTooltip(MusicVolumeBTN.gameObject, "Tool: Music Volume [3]"); - Tooltip.AddTooltip(ChartSectionBTN.gameObject, "Tool: Beatmap Sections [4]"); - - Tooltip.AddTooltip(StartingTempoSpecialAll.gameObject, "Starting Tempo (BPM)"); - Tooltip.AddTooltip(StartingTempoSpecialTempo.gameObject, "Starting Tempo (BPM)"); - Tooltip.AddTooltip(StartingVolumeSpecialVolume.gameObject, "Starting Volume (%)"); - - Tooltip.AddTooltip(ZoomInBTN.gameObject, "Zoom In"); - Tooltip.AddTooltip(ZoomOutBTN.gameObject, "Zoom Out"); - Tooltip.AddTooltip(ZoomResetBTN.gameObject, "Zoom Reset"); Tooltip.AddTooltip(WaveformBTN.gameObject, "Waveform Toggle"); - Tooltip.AddTooltip(PlaybackSpeed.gameObject, "The preview's playback speed. Right click to reset to 1.0"); - SetTimeButtonColors(true, false, false); MetronomeBTN.transform.GetChild(0).GetComponent().color = Color.gray; MetronomeBTN.transform.GetChild(1).GetComponent().color = Color.gray; diff --git a/Assets/Scripts/LevelEditor/TooltipGiver.cs b/Assets/Scripts/LevelEditor/TooltipGiver.cs new file mode 100644 index 00000000..e1d7cec6 --- /dev/null +++ b/Assets/Scripts/LevelEditor/TooltipGiver.cs @@ -0,0 +1,17 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace HeavenStudio.Editor +{ + public class TooltipGiver : MonoBehaviour + { + [SerializeField] private string TooltipText; + + void Start() + { + Tooltip.AddTooltip(gameObject, TooltipText); + + } + } +} \ No newline at end of file diff --git a/Assets/Scripts/LevelEditor/TooltipGiver.cs.meta b/Assets/Scripts/LevelEditor/TooltipGiver.cs.meta new file mode 100644 index 00000000..9b90d064 --- /dev/null +++ b/Assets/Scripts/LevelEditor/TooltipGiver.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2a525ece7c981f3418a70bbfa58c1146 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: