Ejemplo n.º 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>();
 }
Ejemplo n.º 2
0
 // Start when the scrip is being loaded
 void Awake()
 {
     music = GetComponent <FloorAudio>();
 }