From b123cd83f85416bfe7f1d6ee2b16ca896d3266f1 Mon Sep 17 00:00:00 2001 From: maverickdgg Date: Fri, 31 Mar 2023 14:14:44 +0800 Subject: [PATCH] Updated Main menu with correct slider scale and added fx for buttons --- Assets/Scenes/MainMenu.shade | 56 ++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/Assets/Scenes/MainMenu.shade b/Assets/Scenes/MainMenu.shade index 64904465..7e624cd3 100644 --- a/Assets/Scenes/MainMenu.shade +++ b/Assets/Scenes/MainMenu.shade @@ -754,7 +754,7 @@ Transform Component: Translate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1024, y: 64, z: 1} + Scale: {x: 1004, y: 46, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -779,7 +779,7 @@ Transform Component: Translate: {x: 0, y: 0, z: 0.100000001} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1.02499998, y: 1.25, z: 1} + Scale: {x: 1.01992035, y: 1.39130437, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -799,7 +799,7 @@ Transform Component: Translate: {x: 0, y: -100, z: 0} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1024, y: 64, z: 1} + Scale: {x: 1004, y: 46, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -824,7 +824,7 @@ Transform Component: Translate: {x: 0, y: 0, z: 0.100000001} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1.02499998, y: 1.25, z: 1} + Scale: {x: 1.01992035, y: 1.39130437, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -844,7 +844,7 @@ Transform Component: Translate: {x: 0, y: -200, z: 0} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1024, y: 64, z: 1} + Scale: {x: 1004, y: 46, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -869,7 +869,7 @@ Transform Component: Translate: {x: 0, y: 0, z: 0.100000001} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1.02499998, y: 1.25, z: 1} + Scale: {x: 1.01992035, y: 1.39130437, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -1009,7 +1009,7 @@ Transform Component: Translate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1024, y: 64, z: 1} + Scale: {x: 1004, y: 46, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -1034,7 +1034,7 @@ Transform Component: Translate: {x: 0, y: 0, z: 0.100000001} Rotate: {x: 0, y: 0, z: 0} - Scale: {x: 1.02499998, y: 1.25, z: 1} + Scale: {x: 1.01992035, y: 1.39130437, z: 1} IsActive: true Renderable Component: Mesh: 141771688 @@ -1075,6 +1075,14 @@ Enabled: true inverseX: true inverseY: false + - Type: SHADE_Scripting.UI.ButtonFX + Enabled: true + onHoverEnterSound: event:/UI/botton_hover + onHoverExitSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail + hoverScale: 1.25 + clickScale: 0.899999976 - EID: 445 Name: Invert Y Toggle Button IsActive: true @@ -1104,6 +1112,14 @@ Enabled: true inverseX: false inverseY: true + - Type: SHADE_Scripting.UI.ButtonFX + Enabled: true + onHoverEnterSound: event:/UI/botton_hover + onHoverExitSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail + hoverScale: 1.25 + clickScale: 0.899999976 - EID: 39 Name: Audio Slider Text Group IsActive: true @@ -1526,6 +1542,14 @@ - Type: ChangeSceneButton Enabled: true sceneID: 91947920 + - Type: SHADE_Scripting.UI.ButtonFX + Enabled: true + onHoverEnterSound: event:/UI/botton_hover + onHoverExitSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail + hoverScale: 1.10000002 + clickScale: 0.899999976 - EID: 439 Name: Level 2 Button IsActive: true @@ -1554,6 +1578,14 @@ - Type: ChangeSceneButton Enabled: true sceneID: 86098106 + - Type: SHADE_Scripting.UI.ButtonFX + Enabled: true + onHoverEnterSound: event:/UI/botton_hover + onHoverExitSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail + hoverScale: 1.10000002 + clickScale: 0.899999976 - EID: 438 Name: Level 3 Button IsActive: true @@ -1582,6 +1614,14 @@ - Type: ChangeSceneButton Enabled: true sceneID: 88928066 + - Type: SHADE_Scripting.UI.ButtonFX + Enabled: true + onHoverEnterSound: event:/UI/botton_hover + onHoverExitSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail + hoverScale: 1.10000002 + clickScale: 0.899999976 - EID: 450 Name: TransitionCanvas IsActive: false