void Start() { ballCart = FindObjectOfType <BallCart>(); buildingPreviewer = FindObjectOfType <BuildingPreviewer>(); buildingPreviewer.gameObject.SetActive(false); countCollisions = GetComponent <CountCollisions>(); animator = GetComponent <Animator>(); }
private void Start() { ballCart = FindObjectOfType <BallCart>(); }