void Start() { resourceLoader = GameObject.FindObjectOfType <ResourceLoader>(); scorer = GameObject.FindObjectOfType <Goal>(); }
// Use this for initialization void Start() { resourceLoader = GameObject.FindObjectOfType <ResourceLoader>(); sauceBottle = this.gameObject; }