Esempio n. 1
0
    private void Awake()
    {
        buildingLots     = new List <BuildingLot>();
        baseBuildingLots = new List <GameObject>();

        roadGen   = GetComponent <RoadGen>();
        objectGen = GetComponent <ObjectGen>();

        trafficController = GetComponentInChildren <AITrafficController>();
    }
 public override void _Ready()
 {
     roadGen = (RoadGen)GetParent();
 }