diff --git a/Assets/Scenes/Level1.shade b/Assets/Scenes/Level1.shade index 9631b6f9..e9d64a55 100644 --- a/Assets/Scenes/Level1.shade +++ b/Assets/Scenes/Level1.shade @@ -7945,10 +7945,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 456 @@ -7978,10 +7978,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 455 @@ -8011,10 +8011,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 454 diff --git a/Assets/Scenes/LoseScene.shade b/Assets/Scenes/LoseScene.shade index 00730785..b74fb117 100644 --- a/Assets/Scenes/LoseScene.shade +++ b/Assets/Scenes/LoseScene.shade @@ -74,10 +74,10 @@ sceneID: 97158628 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 6 @@ -109,10 +109,10 @@ Enabled: true - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 3 diff --git a/Assets/Scenes/MainMenu.shade b/Assets/Scenes/MainMenu.shade index 25a75012..ea770107 100644 --- a/Assets/Scenes/MainMenu.shade +++ b/Assets/Scenes/MainMenu.shade @@ -100,10 +100,10 @@ sceneID: 91947920 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 6 @@ -135,10 +135,10 @@ Enabled: true - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 7 @@ -168,10 +168,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - Type: SHADE_Scripting.UI.ChangeCanvasButton @@ -204,10 +204,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - Type: SHADE_Scripting.UI.ChangeCanvasButton @@ -240,10 +240,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - Type: SHADE_Scripting.UI.ChangeCanvasButton @@ -276,10 +276,10 @@ Scripts: - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - Type: SHADE_Scripting.UI.ChangeCanvasButton @@ -429,10 +429,10 @@ multiImageList: 15 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 17 @@ -466,10 +466,10 @@ multiImageList: 15 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 18 @@ -502,10 +502,10 @@ canvasToActivate: 0 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 19 @@ -576,10 +576,10 @@ canvasToActivate: 0 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 22 @@ -1263,10 +1263,10 @@ canvasToActivate: 0 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 49 @@ -1372,10 +1372,10 @@ canvasToActivate: 0 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty onClickSound: event:/UI/button_success - onReleaseSound: Empty + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 53 diff --git a/Assets/Scenes/WinScene.shade b/Assets/Scenes/WinScene.shade index a936ac54..c1ba5024 100644 --- a/Assets/Scenes/WinScene.shade +++ b/Assets/Scenes/WinScene.shade @@ -74,10 +74,10 @@ sceneID: 97158628 - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 6 @@ -109,10 +109,10 @@ Enabled: true - Type: SHADE_Scripting.UI.ButtonFX Enabled: true - onHoverEnterSound: Empty + onHoverEnterSound: event:/UI/botton_hover onHoverExitSound: Empty - onClickSound: event:/UI/mouse_down_element - onReleaseSound: Empty + onClickSound: event:/UI/button_success + onReleaseSound: event:/UI/button_fail hoverScale: 1.10000002 clickScale: 0.899999976 - EID: 3 diff --git a/Assets/Scripts/UI/SC_ButtonFX.cs b/Assets/Scripts/UI/SC_ButtonFX.cs index 78b7b686..dcfd42c7 100644 --- a/Assets/Scripts/UI/SC_ButtonFX.cs +++ b/Assets/Scripts/UI/SC_ButtonFX.cs @@ -9,10 +9,10 @@ namespace SHADE_Scripting.UI { public class ButtonFX:Script { - public string onHoverEnterSound = "Empty"; + public string onHoverEnterSound = "event:/UI/botton_hover"; public string onHoverExitSound = "Empty"; public string onClickSound = "event:/UI/button_success"; - public string onReleaseSound = "Empty"; + public string onReleaseSound = "event:/UI/button_fail"; [NonSerialized] private AudioClipHandler onHoverEnterACHandler;