void Update() { if (GameControlling.playMode == 1) { horizontalMove = fp.PlayerDirection(); } else { horizontalMove = 0; } if (transform.position.y < -7f) { Reapearing(); } }