Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 1afb247

Browse files
authored
Yote unnecessary lines and old functions
not tested yet, do that tomorrow ya dunce
1 parent e903585 commit 1afb247

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

OldLoadingScreen/OldLoadingScreenMod.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ private void CreateGameObjects()
8787
loadScreenPrefab = CreateGameObject(loadScreenPrefab, new Vector3(400, 400, 400), "UserInterface/MenuContent/Popups/", "LoadingPopup");
8888
cavernDry = CreateGameObject(cavernDry, new Vector3(400, 400, 400), "UserInterface/", "LoadingBackground_TealGradient_Music");
8989

90-
91-
9290
InfoPanel.active = false;
9391
SkyCube.active = false;
9492
bubbles.active = false;
@@ -100,18 +98,6 @@ private void CreateGameObjects()
10098

10199
}
102100

103-
private AudioSource CreateAudioSource(AudioClip clip, GameObject parent)
104-
{
105-
var source = parent.AddComponent<AudioSource>();
106-
source.clip = clip;
107-
source.spatialize = false;
108-
source.volume = 100;
109-
source.loop = false;
110-
source.playOnAwake = false;
111-
source.outputAudioMixerGroup = VRCAudioManager.field_Private_Static_VRCAudioManager_0.uiGroup;
112-
return source;
113-
}
114-
115101
private GameObject CreateGameObject(GameObject obj, Vector3 scale, String rootDest, String parent)
116102
{
117103
MelonLogger.Log("Creating " + obj.name);

0 commit comments

Comments
 (0)