예제 #1
0
 // Start when the scrip is being loaded
 private void Awake()
 {
     begin  = transform.position;
     Motion = SMotion;
     // adding sound when starting the game
     music = GetComponent <FloorAudio>();
 }
예제 #2
0
 // Start when the scrip is being loaded
 void Awake()
 {
     music = GetComponent <FloorAudio>();
 }