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
@@ -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);
};