fixed locals, fixed object+world gen
This commit is contained in:
@@ -62,7 +62,7 @@ public class WorldGenerator : MonoBehaviour
|
||||
|
||||
void resetPlayer()
|
||||
{
|
||||
if (player.transform.position.y <= -10)
|
||||
if (player.transform.position.y <= -20)
|
||||
{
|
||||
Vector3 position = new Vector3(currentTile.transform.position.x, 50, currentTile.transform.position.z);
|
||||
player.transform.SetPositionAndRotation(position, player.transform.rotation);
|
||||
|
||||
Reference in New Issue
Block a user