예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     BGM       = bgm.value;
     SE        = se.value;
     fade      = GetComponent <Fade>();
     bgm.value = StageDate.GetAudio("BGM");
     se.value  = StageDate.GetAudio("SE");
     audio     = GetComponent <AudioSource>();
     selectNum = 0;
     Select();
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     selectNum = images.Count - 1;
     Select();
     isPush         = false;
     Time.timeScale = 1.0f;
     BGM            = StageDate.GetAudio("BGM");
     SE             = StageDate.GetAudio("SE");
     audio          = GetComponent <AudioSource>();
     fade           = GetComponent <Fade>();
 }