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