moving spawn point.
This commit is contained in:
parent
c2092e08c7
commit
b2dd779b7a
3 changed files with 57 additions and 4 deletions
|
|
@ -36,7 +36,7 @@ public class GameController : MonoBehaviour {
|
|||
{
|
||||
if (patronCounter < maxPatrons)
|
||||
{
|
||||
Vector3 spawnPosition = new Vector3 (8f, 9.7f, -3f);
|
||||
Vector3 spawnPosition = new Vector3 (20f, 3f, 9f);
|
||||
Quaternion spawnRotation = Quaternion.identity;
|
||||
|
||||
Instantiate (patronObjects[Random.Range (0, patronObjects.Length-1)], spawnPosition, spawnRotation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue