Skip to content
Snippets Groups Projects
Commit bc746186 authored by Roby Purnomo's avatar Roby Purnomo
Browse files

minor : loop audio bg

parent b08d8794
No related merge requests found
...@@ -28,6 +28,7 @@ public class Setting : MonoBehaviour ...@@ -28,6 +28,7 @@ public class Setting : MonoBehaviour
void Start() void Start()
{ {
musicSource.clip = background; musicSource.clip = background;
musicSource.loop = true;
musicSource.Play(); musicSource.Play();
display.text = PlayerPrefs.GetString("playername"); display.text = PlayerPrefs.GetString("playername");
if (display.text == "SettingManager") if (display.text == "SettingManager")
......
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