Fixed button sounds #394

Merged
maverickdgg merged 1 commits from SP3-20-UI-System into main 2023-03-05 11:45:24 +08:00
11 changed files with 318 additions and 122 deletions

View File

@ -3,6 +3,6 @@
SubPass: UI SubPass: UI
Properties: Properties:
data.color: {x: 1, y: 1, z: 1, w: 1} data.color: {x: 1, y: 1, z: 1, w: 1}
data.textureIndex: 54429632 data.textureIndex: 58181851
data.alpha: 1 data.alpha: 1
data.beta: {x: 1, y: 1, z: 1} data.beta: {x: 1, y: 1, z: 1}

View File

@ -5202,10 +5202,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 456 - EID: 456
@ -5235,10 +5235,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 455 - EID: 455
@ -5268,10 +5268,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 454 - EID: 454

View File

@ -6155,10 +6155,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 0 - EID: 0
@ -6188,10 +6188,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 458 - EID: 458
@ -6221,10 +6221,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 11 - EID: 11

View File

@ -5327,6 +5327,8 @@
Enabled: true Enabled: true
threshHold: 0.5 threshHold: 0.5
ignoreRaccoon: true ignoreRaccoon: true
breakClipHandlerName: ""
breakClipPath: ""
- Type: Item - Type: Item
Enabled: true Enabled: true
Score: 10 Score: 10
@ -5546,6 +5548,8 @@
Enabled: true Enabled: true
threshHold: 4 threshHold: 4
ignoreRaccoon: true ignoreRaccoon: true
breakClipHandlerName: ""
breakClipPath: ""
- Type: Item - Type: Item
Enabled: true Enabled: true
Score: 500 Score: 500
@ -5856,6 +5860,8 @@
Enabled: true Enabled: true
threshHold: 4 threshHold: 4
ignoreRaccoon: true ignoreRaccoon: true
breakClipHandlerName: ""
breakClipPath: ""
- Type: Item - Type: Item
Enabled: true Enabled: true
Score: 500 Score: 500
@ -6166,6 +6172,8 @@
Enabled: true Enabled: true
threshHold: 0.5 threshHold: 0.5
ignoreRaccoon: true ignoreRaccoon: true
breakClipHandlerName: ""
breakClipPath: ""
- Type: Item - Type: Item
Enabled: true Enabled: true
Score: 10 Score: 10
@ -6385,6 +6393,8 @@
Enabled: true Enabled: true
threshHold: 4 threshHold: 4
ignoreRaccoon: true ignoreRaccoon: true
breakClipHandlerName: ""
breakClipPath: ""
- Type: Item - Type: Item
Enabled: true Enabled: true
Score: 500 Score: 500

View File

@ -73,10 +73,10 @@
sceneID: 97158628 sceneID: 97158628
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 6 - EID: 6
@ -108,10 +108,10 @@
Enabled: true Enabled: true
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 3 - EID: 3
@ -154,3 +154,39 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.TweenManager - Type: SHADE_Scripting.UI.TweenManager
Enabled: true Enabled: true
- EID: 450
Name: TransitionCanvas
IsActive: true
NumberOfChildren: 1
Components:
Canvas Component:
Canvas Width: 1920
Canvas Height: 1080
Scale by canvas width: false
IsActive: true
Scripts: ~
- EID: 65982
Name: Transition
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0, y: 0, z: 0.100000001}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 2500, y: 1080, z: 1}
IsActive: true
Renderable Component:
Mesh: 141771688
Material: 120016136
IsActive: true
UI Component:
Canvas ID: 450
Hovered: false
Clicked: false
IsActive: true
Scripts:
- Type: SHADE_Scripting.UI.SceneFadeInOut
Enabled: true
alphaValue: 1
fadeInTime: 0.5
fadeOutTime: 0.5

View File

@ -21,7 +21,7 @@
IsActive: true IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
Material: 129138332 Material: 121834459
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 0 Canvas ID: 0
@ -100,10 +100,10 @@
sceneID: 96668835 sceneID: 96668835
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: "event:/Music/player_undetected\x00<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 6 - EID: 6
@ -135,10 +135,10 @@
Enabled: true Enabled: true
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 7 - EID: 7
@ -168,10 +168,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
@ -204,10 +204,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
@ -240,10 +240,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
@ -276,10 +276,10 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
@ -352,23 +352,23 @@
Scripts: ~ Scripts: ~
- EID: 14 - EID: 14
Name: BackGround Name: BackGround
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: 0, z: 0.5} Translate: {x: 0, y: 0, z: 2.5}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1920, y: 1080, z: 1} Scale: {x: 1920, y: 1080, z: 1}
IsActive: false IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
Material: 121834459 Material: 121834459
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 13 Canvas ID: 13
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts: ~
- EID: 15 - EID: 15
Name: Instruction Image Name: Instruction Image
@ -378,7 +378,7 @@
Transform Component: Transform Component:
Translate: {x: 0, y: 0, z: 0.400000006} Translate: {x: 0, y: 0, z: 0.400000006}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1344, y: 756, z: 1} Scale: {x: 1167.40002, y: 900, z: 1}
IsActive: true IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
@ -428,10 +428,10 @@
multiImageList: 15 multiImageList: 15
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 17 - EID: 17
@ -465,10 +465,10 @@
multiImageList: 15 multiImageList: 15
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 18 - EID: 18
@ -501,18 +501,10 @@
canvasToActivate: 0 canvasToActivate: 0
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002
clickScale: 0.899999976
- Type: SHADE_Scripting.UI.ButtonFX
Enabled: true
onHoverEnterSound: event:/Music/player_undetected
onHoverExitSound: event:/Music/player_undetected
onClickSound: event:/Music/player_undetected
onReleaseSound: event:/Music/player_undetected
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 19 - EID: 19
@ -528,23 +520,23 @@
Scripts: ~ Scripts: ~
- EID: 20 - EID: 20
Name: BackGround Name: BackGround
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: 0, z: 1} Translate: {x: 0, y: 0, z: 1.5}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1920, y: 1080, z: 1} Scale: {x: 1920, y: 1080, z: 1}
IsActive: false IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
Material: 121834459 Material: 121834459
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts: ~
- EID: 21 - EID: 21
Name: BackButton Name: BackButton
@ -574,6 +566,14 @@
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
Enabled: true Enabled: true
canvasToActivate: 0 canvasToActivate: 0
- Type: SHADE_Scripting.UI.ButtonFX
Enabled: true
onHoverEnterSound: Empty
onHoverExitSound: Empty
onClickSound: event:/UI/mouse_down_element
onReleaseSound: Empty
hoverScale: 1.10000002
clickScale: 0.899999976
- EID: 22 - EID: 22
Name: Options Title Text Name: Options Title Text
IsActive: true IsActive: true
@ -587,6 +587,8 @@
Text Renderer Component: Text Renderer Component:
Text: Options Text: Options
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -607,6 +609,8 @@
Text Renderer Component: Text Renderer Component:
Text: Audio Text: Audio
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -643,6 +647,8 @@
Text Renderer Component: Text Renderer Component:
Text: Master Text: Master
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -663,6 +669,8 @@
Text Renderer Component: Text Renderer Component:
Text: SFX Text: SFX
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -683,6 +691,8 @@
Text Renderer Component: Text Renderer Component:
Text: BGM Text: BGM
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -788,6 +798,8 @@
Text Renderer Component: Text Renderer Component:
Text: Camera Text: Camera
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -824,6 +836,8 @@
Text Renderer Component: Text Renderer Component:
Text: FOV Text: FOV
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -844,6 +858,8 @@
Text Renderer Component: Text Renderer Component:
Text: Sensitivity Text: Sensitivity
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -942,6 +958,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -967,6 +985,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -992,6 +1012,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -1033,6 +1055,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -1058,6 +1082,8 @@
Text Renderer Component: Text Renderer Component:
Text: 100 Text: 100
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 19 Canvas ID: 19
@ -1073,7 +1099,7 @@
- EID: 46 - EID: 46
Name: Credits Canvas Name: Credits Canvas
IsActive: false IsActive: false
NumberOfChildren: 3 NumberOfChildren: 4
Components: Components:
Canvas Component: Canvas Component:
Canvas Width: 1920 Canvas Width: 1920
@ -1082,12 +1108,12 @@
IsActive: false IsActive: false
Scripts: ~ Scripts: ~
- EID: 47 - EID: 47
Name: BackGround Name: Scrolling Credits
IsActive: true IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: -3800, z: 0.100000001} Translate: {x: 0, y: -3800, z: 1.5}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1920, y: 8026, z: 1} Scale: {x: 1920, y: 8026, z: 1}
IsActive: true IsActive: true
@ -1133,6 +1159,14 @@
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
Enabled: true Enabled: true
canvasToActivate: 0 canvasToActivate: 0
- Type: SHADE_Scripting.UI.ButtonFX
Enabled: true
onHoverEnterSound: Empty
onHoverExitSound: Empty
onClickSound: event:/UI/mouse_down_element
onReleaseSound: Empty
hoverScale: 1.10000002
clickScale: 0.899999976
- EID: 49 - EID: 49
Name: Credits Title Text Name: Credits Title Text
IsActive: false IsActive: false
@ -1146,6 +1180,28 @@
Text Renderer Component: Text Renderer Component:
Text: Credits Text: Credits
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: false
UI Component:
Canvas ID: 46
Hovered: false
Clicked: false
IsActive: false
Scripts: ~
- EID: 55
Name: BackGround
IsActive: false
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0, y: 0, z: 1.5}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1920, y: 1080, z: 1}
IsActive: false
Renderable Component:
Mesh: 141771688
Material: 121834459
IsActive: false IsActive: false
UI Component: UI Component:
Canvas ID: 46 Canvas ID: 46
@ -1166,23 +1222,23 @@
Scripts: ~ Scripts: ~
- EID: 51 - EID: 51
Name: BackGround Name: BackGround
IsActive: false IsActive: true
NumberOfChildren: 0 NumberOfChildren: 0
Components: Components:
Transform Component: Transform Component:
Translate: {x: 0, y: 0, z: 1} Translate: {x: 0, y: 0, z: 1.5}
Rotate: {x: 0, y: 0, z: 0} Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 1920, y: 1080, z: 1} Scale: {x: 1920, y: 1080, z: 1}
IsActive: false IsActive: true
Renderable Component: Renderable Component:
Mesh: 141771688 Mesh: 141771688
Material: 121834459 Material: 121834459
IsActive: false IsActive: true
UI Component: UI Component:
Canvas ID: 50 Canvas ID: 50
Hovered: false Hovered: false
Clicked: false Clicked: false
IsActive: false IsActive: true
Scripts: ~ Scripts: ~
- EID: 52 - EID: 52
Name: BackButton Name: BackButton
@ -1212,6 +1268,14 @@
- Type: SHADE_Scripting.UI.ChangeCanvasButton - Type: SHADE_Scripting.UI.ChangeCanvasButton
Enabled: true Enabled: true
canvasToActivate: 0 canvasToActivate: 0
- Type: SHADE_Scripting.UI.ButtonFX
Enabled: true
onHoverEnterSound: Empty
onHoverExitSound: Empty
onClickSound: event:/UI/mouse_down_element
onReleaseSound: Empty
hoverScale: 1.10000002
clickScale: 0.899999976
- EID: 53 - EID: 53
Name: Level Select Title Text Name: Level Select Title Text
IsActive: true IsActive: true
@ -1225,6 +1289,8 @@
Text Renderer Component: Text Renderer Component:
Text: Level Select Text: Level Select
Font: 174412429 Font: 174412429
Color: {x: 0, y: 0, z: 0, w: 1}
Text Size: {x: 1, y: 1, z: 1}
IsActive: true IsActive: true
UI Component: UI Component:
Canvas ID: 50 Canvas ID: 50
@ -1232,3 +1298,39 @@
Clicked: false Clicked: false
IsActive: true IsActive: true
Scripts: ~ Scripts: ~
- EID: 450
Name: TransitionCanvas
IsActive: true
NumberOfChildren: 1
Components:
Canvas Component:
Canvas Width: 1920
Canvas Height: 1080
Scale by canvas width: false
IsActive: true
Scripts: ~
- EID: 65982
Name: Transition
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0, y: 0, z: 0.100000001}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 2500, y: 1080, z: 1}
IsActive: true
Renderable Component:
Mesh: 141771688
Material: 120016136
IsActive: true
UI Component:
Canvas ID: 450
Hovered: false
Clicked: false
IsActive: true
Scripts:
- Type: SHADE_Scripting.UI.SceneFadeInOut
Enabled: true
alphaValue: 1
fadeInTime: 0.5
fadeOutTime: 0.5

View File

@ -73,10 +73,10 @@
sceneID: 97158628 sceneID: 97158628
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 6 - EID: 6
@ -108,10 +108,10 @@
Enabled: true Enabled: true
- Type: SHADE_Scripting.UI.ButtonFX - Type: SHADE_Scripting.UI.ButtonFX
Enabled: true Enabled: true
onHoverEnterSound: event:/Music/player_undetected onHoverEnterSound: Empty
onHoverExitSound: event:/Music/player_undetected onHoverExitSound: Empty
onClickSound: event:/Music/player_undetected onClickSound: event:/UI/mouse_down_element
onReleaseSound: event:/Music/player_undetected onReleaseSound: Empty
hoverScale: 1.10000002 hoverScale: 1.10000002
clickScale: 0.899999976 clickScale: 0.899999976
- EID: 3 - EID: 3
@ -154,3 +154,39 @@
Scripts: Scripts:
- Type: SHADE_Scripting.UI.TweenManager - Type: SHADE_Scripting.UI.TweenManager
Enabled: true Enabled: true
- EID: 450
Name: TransitionCanvas
IsActive: true
NumberOfChildren: 1
Components:
Canvas Component:
Canvas Width: 1920
Canvas Height: 1080
Scale by canvas width: false
IsActive: true
Scripts: ~
- EID: 65982
Name: Transition
IsActive: true
NumberOfChildren: 0
Components:
Transform Component:
Translate: {x: 0, y: 0, z: 0.100000001}
Rotate: {x: 0, y: 0, z: 0}
Scale: {x: 2500, y: 1080, z: 1}
IsActive: true
Renderable Component:
Mesh: 141771688
Material: 120016136
IsActive: true
UI Component:
Canvas ID: 450
Hovered: false
Clicked: false
IsActive: true
Scripts:
- Type: SHADE_Scripting.UI.SceneFadeInOut
Enabled: true
alphaValue: 1
fadeInTime: 0.5
fadeOutTime: 0.5

View File

@ -9,10 +9,10 @@ namespace SHADE_Scripting.UI
{ {
public class ButtonFX:Script public class ButtonFX:Script
{ {
public string onHoverEnterSound = "event:/Music/player_undetected"; public string onHoverEnterSound = "Empty";
public string onHoverExitSound = "event:/Music/player_undetected"; public string onHoverExitSound = "Empty";
public string onClickSound = "event:/Music/player_undetected"; public string onClickSound = "event:/UI/mouse_down_element";
public string onReleaseSound = "event:/Music/player_undetected"; public string onReleaseSound = "Empty";
[NonSerialized] [NonSerialized]
private AudioClipHandler onHoverEnterACHandler; private AudioClipHandler onHoverEnterACHandler;
@ -40,13 +40,16 @@ namespace SHADE_Scripting.UI
protected override void awake() protected override void awake()
{ {
if(onHoverEnterSound != "Empty")
onHoverEnterACHandler = SHADE.Audio.CreateAudioClip(onHoverEnterSound); onHoverEnterACHandler = SHADE.Audio.CreateAudioClip(onHoverEnterSound);
if(onHoverExitSound != "Empty")
onHoverExitACHandler = SHADE.Audio.CreateAudioClip(onHoverExitSound); onHoverExitACHandler = SHADE.Audio.CreateAudioClip(onHoverExitSound);
if (onClickSound != "Empty")
onClickACHandler = SHADE.Audio.CreateAudioClip(onClickSound); onClickACHandler = SHADE.Audio.CreateAudioClip(onClickSound);
if (onReleaseSound != "Empty")
onReleaseACHandler = SHADE.Audio.CreateAudioClip(onReleaseSound); onReleaseACHandler = SHADE.Audio.CreateAudioClip(onReleaseSound);
} }
protected override void start() protected override void start()
@ -67,7 +70,7 @@ namespace SHADE_Scripting.UI
ui.OnClick.RegisterAction(() => ui.OnClick.RegisterAction(() =>
{ {
if (onClickSound != "") if (onClickSound != "Empty")
onClickACHandler.Play(); onClickACHandler.Play();
tweening = true; tweening = true;
if(thread != null) if(thread != null)
@ -76,8 +79,10 @@ namespace SHADE_Scripting.UI
ui.OnRelease.RegisterAction(() => ui.OnRelease.RegisterAction(() =>
{ {
if (onReleaseSound != "") if (onReleaseSound != "Empty")
onReleaseACHandler.Play(); onReleaseACHandler.Play();
tweening = true; tweening = true;
if (thread != null) if (thread != null)
thread.Reset(currentScale, 1.0f); thread.Reset(currentScale, 1.0f);
@ -85,8 +90,12 @@ namespace SHADE_Scripting.UI
ui.OnHoverEnter.RegisterAction(() => ui.OnHoverEnter.RegisterAction(() =>
{ {
if (onHoverEnterSound != "") if (onHoverEnterSound!="Empty")
{
onHoverEnterACHandler.Play(); onHoverEnterACHandler.Play();
}
tweening = true; tweening = true;
if (thread != null) if (thread != null)
thread.Reset(currentScale, hoverScale); thread.Reset(currentScale, hoverScale);
@ -94,7 +103,7 @@ namespace SHADE_Scripting.UI
ui.OnHoverExit.RegisterAction(() => ui.OnHoverExit.RegisterAction(() =>
{ {
if (onHoverExitSound != "") if (onHoverExitSound != "Empty")
onHoverExitACHandler.Play(); onHoverExitACHandler.Play();
tweening = true; tweening = true;
if (thread != null) if (thread != null)

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
Name: MainMenuBG
ID: 58181851
Type: 3