Commit 0a522457 authored by radow's avatar radow
Browse files

minor music problem fixes

parent f6671e12
......@@ -1519,6 +1519,7 @@ GameObject:
- component: {fileID: 818483559}
- component: {fileID: 818483561}
- component: {fileID: 818483562}
- component: {fileID: 818483563}
m_Layer: 0
m_Name: GameManager
m_TagString: Untagged
......@@ -1664,6 +1665,18 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!114 &818483563
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 818483558}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fdb9f3d4225f3f24fafd49733a3d48b4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &819334828
GameObject:
m_ObjectHideFlags: 0
......
......@@ -1302,6 +1302,7 @@ GameObject:
- component: {fileID: 818483559}
- component: {fileID: 818483561}
- component: {fileID: 818483562}
- component: {fileID: 818483563}
m_Layer: 0
m_Name: GameManager
m_TagString: Untagged
......@@ -1447,6 +1448,18 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!114 &818483563
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 818483558}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fdb9f3d4225f3f24fafd49733a3d48b4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &819334828
GameObject:
m_ObjectHideFlags: 0
......
......@@ -53066,6 +53066,7 @@ GameObject:
- component: {fileID: 818483559}
- component: {fileID: 818483561}
- component: {fileID: 818483562}
- component: {fileID: 818483563}
m_Layer: 0
m_Name: GameManager
m_TagString: Untagged
......@@ -53211,6 +53212,18 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!114 &818483563
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 818483558}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fdb9f3d4225f3f24fafd49733a3d48b4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &819334828
GameObject:
m_ObjectHideFlags: 0
......@@ -4362,6 +4362,7 @@ GameObject:
- component: {fileID: 818483559}
- component: {fileID: 818483561}
- component: {fileID: 818483562}
- component: {fileID: 818483563}
m_Layer: 0
m_Name: GameManager
m_TagString: Untagged
......@@ -4507,6 +4508,18 @@ AudioSource:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!114 &818483563
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 818483558}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fdb9f3d4225f3f24fafd49733a3d48b4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &819334828
GameObject:
m_ObjectHideFlags: 0
......
......@@ -27,6 +27,12 @@ public class MainMenu : MonoBehaviour
public void OpenLink()
{
if (Application.platform == RuntimePlatform.WebGLPlayer)
{
Application.ExternalEval("window.open(\"https://purplesloth.studio/\",\"_blank\")");
return;
}
Application.OpenURL("https://purplesloth.studio/");
}
}
......@@ -12,7 +12,7 @@ public class SettingsData : MonoBehaviour
DontDestroyOnLoad(gameObject);
instance = this;
}
else Destroy(this.gameObject);
else if (this != instance)Destroy(this.gameObject);
}
public static float musicVolume = 1f;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment