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