예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Space))
     {
         BackgroundSetting.SwitchScene(0);
     }
 }
예제 #2
0
 public void SwitchScene(int num)
 {
     BackgroundSetting.SwitchScene(num);
 }