Created
June 7, 2018 11:56
-
-
Save walkies/7326860b44ebb597214f25e857cb1f46 to your computer and use it in GitHub Desktop.
ball spawn random
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x = Random.Range(0, 360); | |
Instantiate(myPrefab, new Vector3(0, 3f, 0), Quaternion.Euler(0, x, 0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment