Example #1
0
 void Start()
 {
     cityCenter = FindObjectOfType <CityCenter>();
 }
Example #2
0
 private void Awake()
 {
     instance = this;
     box      = gameObject.GetComponent <BoxCollider>();
 }