using System.Collections; using System.Collections.Generic; using UnityEngine; public class SpawnBall : MonoBehaviour { public GameObject goBall; // Use this for initialization void Start () { Instantiate (goBall, this.transform.position, this.transform.rotation); } // Update is called once per frame void Update () { } }