Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public GameObject ball;
- // Use this for initialization
- void Start () {
- }
- // Update is called once per frame
- void Update () {
- Instantiate (ball, new Vector3 (Random.Range (-7f, 7f), 6f, 0), Quaternion.identity);
- }
Add Comment
Please, Sign In to add comment