示例#1
0
 // Update is called once per frame
 public void Teleport()
 {
     //spiralStaircase.position += offset;
     player.transform.position += offset;
     controller.ChangePace(10f);
     Invoke("SpeedUp", 10f);
 }
示例#2
0
 public void SpeedDown()
 {
     controller.ChangePace(6.5f);
 }