// Start is called before the first frame update public void Awake() { //todo refactor itemGenerator = FindObjectOfType <itemGenerator>(); launchline = GetComponent <LaunchLine>(); CreateBall(); }
// Use this for initialization void Start() { launchLine = this; Enabled(false); }
public void Awake() { //todo refactor launchline = GetComponent <LaunchLine>(); }