Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Server]
- Vector3 GetRandomSpawnPoint()
- {
- var spawnPoints = NetworkManager.singleton.startPositions;
- return spawnPoints[Random.Range(0,spawnPoints.Count)].position;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement