Adjusted spawning rules
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user