示例#1
0
 public void goDown()
 {
     if (transform.position.y > minHeight)
     {
         Instantiate(effect, transform.position, Quaternion.identity);
         shake.PlayerShakeDown();
         targetPos = new Vector2(transform.position.x, transform.position.y - yIncr);
     }
 }