Exemple #1
0
 private void Update()
 {
     if (Input.GetKey("space"))
     {
         rndLvlLoad.NextLevel();
     }
 }
Exemple #2
0
 private void OnCollisionEnter2D(Collision2D collision)
 {
     RandomLevelLoad.NextLevel();
 }