update audio

This commit is contained in:
mangorifo
2024-02-27 06:34:55 +08:00
parent e2de50750c
commit 578388f144
12 changed files with 309 additions and 1564 deletions
Binary file not shown.
+6 -19
View File
@@ -3977,19 +3977,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 4a0eddc0d4694b3f49a0137f6ff13985, type: 3}
m_Name:
m_EditorClassIdentifier:
materialTemplate: {fileID: 0}
resolution: 2049
octavesCount: 9
persistence: 0.45
frequency: 4
tileWidth: 2000
minAltitude: 0
maxAltitude: 1000
useBiomes: 0
biomeDensity: 1
limitBrightness: 4
distributionResolution: 257
layers: []
--- !u!1 &1056909826
GameObject:
m_ObjectHideFlags: 0
@@ -8009,8 +7996,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 3, y: -182.99066}
m_SizeDelta: {x: 300, y: 10}
m_AnchoredPosition: {x: 164.7, y: -181.6}
m_SizeDelta: {x: 465.8406, y: 12.7487}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2061173570445452660
GameObject:
@@ -8219,8 +8206,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 3, y: -182.99066}
m_SizeDelta: {x: 300, y: 10}
m_AnchoredPosition: {x: 164.7, y: -181.6}
m_SizeDelta: {x: 465.8406, y: 12.7487}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!225 &2061173570986036584
CanvasGroup:
@@ -8242,7 +8229,7 @@ RectTransform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2061173570986036586}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0, z: -0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -8252,7 +8239,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -277.17, y: 11.3}
m_AnchoredPosition: {x: -346, y: -20}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &2061173570986036586
+3 -1
View File
@@ -28712,6 +28712,8 @@ MonoBehaviour:
- Gion3.ogg
- OriginStation.ogg
- TrainToTheFuture.ogg
- H3P2-Default_231.ogg
- OriginStation_Cue_127.ogg
useAssetBundle: 0
BundleLoader: {fileID: 2050239838}
AudioBundle: {fileID: 0}
@@ -28836,7 +28838,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!4 &2071059688
Transform:
m_ObjectHideFlags: 0
@@ -19,7 +19,9 @@ public class HomeWorld_Initialize : MonoBehaviour
"Gion3.ogg",
"OriginStation.ogg",
"TrainToTheFuture.ogg",
"AsBefore.ogg"
"AsBefore.ogg",
"OriginStation_Cue_127.ogg",
"H3P2-Default_231.ogg"
//"Finality-HOYO-MiX.ogg"
};
public bool useAssetBundle = false;
+4 -2
View File
@@ -28,8 +28,8 @@ namespace JTN
{
if (changeResolutionAutomatically && useStartupScriptHere)
{
Screen.SetResolution(1533, 862, false);
Debug.Log("Changed game resolution to 1533x720");
Screen.SetResolution(1280, 720, false);
Debug.Log("Changed game resolution to 1280x720");
}
}
else
@@ -44,6 +44,7 @@ namespace JTN
UIDocument UIDoc = ObjectWithUIDocument.GetComponent<UIDocument>();
VisualElement root = UIDoc.rootVisualElement;
root.Q<VisualElement>("Container").visible = true;
root.Q<VisualElement>("ExtraContent").visible = true;
}
private void Start()
{
@@ -53,6 +54,7 @@ namespace JTN
VisualElement root = UIDoc.rootVisualElement;
root.Q<Button>("OpenDevMenu").clicked += () => {
root.Q<VisualElement>("Container").visible = false;
root.Q<VisualElement>("ExtraContent").visible = false;
DevMenu.SetActive(true);
};
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5 -5
View File
@@ -1,9 +1,9 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:VisualElement name="Container" style="flex-grow: 1; height: 251px; flex-direction: column-reverse;">
<ui:Label tabindex="-1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Message" style="height: 566px; width: 1371px; font-size: 37px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); color: rgb(255, 255, 255); white-space: normal; position: absolute; left: 50px; top: 50px;" />
<ui:VisualElement name="ExtraContent" style="flex-grow: 1; position: absolute; height: 152px; top: 710px; width: 1533px; background-color: rgba(120, 147, 95, 0.76); visibility: hidden;">
<ui:Button text="Open Developer Menu" parse-escape-sequences="true" display-tooltip-when-elided="true" name="OpenDevMenu" style="position: absolute; height: 59px; width: 461px; top: 50px; left: 45px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); font-size: 29px; background-color: rgb(232, 255, 238);" />
<ui:VisualElement name="Container" style="flex-grow: 1; height: 1080px; flex-direction: column-reverse; width: 1920px;">
<ui:Label tabindex="-1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Message" style="height: 720px; width: 1800px; font-size: 37px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); color: rgb(255, 255, 255); white-space: normal; position: absolute; left: 50px; top: 50px;" />
<ui:VisualElement name="ExtraContent" style="flex-grow: 1; position: absolute; height: 172px; top: 902px; width: 1920px; background-color: rgba(120, 147, 95, 0.76); visibility: hidden;">
<ui:Button text="Open Developer Menu" parse-escape-sequences="true" display-tooltip-when-elided="true" name="OpenDevMenu" style="position: absolute; height: 59px; width: 461px; top: 72px; left: 73px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); font-size: 29px; background-color: rgb(232, 255, 238);" />
</ui:VisualElement>
</ui:VisualElement>
<ui:Label tabindex="-1" text="Test Version - Alpha_0.0.1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="JTWVersion" style="position: absolute; top: 800px; left: 1030px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); font-size: 30px; -unity-text-align: upper-right; color: rgb(255, 255, 255); -unity-font-style: italic;" />
<ui:Label tabindex="-1" text="Test Version - Alpha_0.0.1" parse-escape-sequences="true" display-tooltip-when-elided="true" name="JTWVersion" style="position: absolute; top: 1016px; left: 1390px; -unity-font: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular.ttf?fileID=12800000&amp;guid=6fb62f3572e0f2d4a90bd6dece4a4f76&amp;type=3#RobotoMono-Regular&apos;); -unity-font-definition: url(&apos;project://database/Assets/Fonts/Roboto_Mono/static/RobotoMono-Regular%20SDF.asset?fileID=11400000&amp;guid=d97ee369c49a99a4594420dfa306a732&amp;type=2#RobotoMono-Regular SDF&apos;); font-size: 30px; -unity-text-align: upper-right; color: rgb(255, 255, 255); -unity-font-style: italic;" />
</ui:UXML>