Adjusted spawning rules

This commit is contained in:
Pasha Bibko
2026-01-15 13:40:46 +00:00
parent c87947075d
commit e77f491d47
3 changed files with 8 additions and 7 deletions

View File

@@ -24,8 +24,8 @@ namespace InterfaceOff
{
Rect rect = Instance.GameCanvas.pixelRect;
float x = Random.Range(rect.xMin + 150, rect.xMax - 150);
float y = Random.Range(rect.yMin + 150, rect.yMax - 150);
float x = Random.Range(rect.xMin, rect.xMax);
float y = Random.Range(rect.yMin, rect.yMax);
return new Vector3(x, y, 0f);
}