Commit 28cd6ccc authored by 神楽坂玲奈's avatar 神楽坂玲奈

static bg

parent d6252aa7
......@@ -6,6 +6,12 @@ public class BackgroundLoader : MonoBehaviour
{
private void Awake()
{
if (File.Exists("texture/common/desk.jpg"))
{
gameObject.SetActive(false);
return;
}
var player = GetComponent<VideoPlayer>();
player.url = Path.Combine(Directory.GetCurrentDirectory(), player.url);
player.Play();
......
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