// Start is called before the first frame update void Start() { resources = GameObject.Find("ResourceContainer").GetComponent <ResourceHandler>(); player_state_handler = GameObject.FindGameObjectWithTag("Player").GetComponent <PanelStateHandler>(); resource_types = structure.GetComponent <GenericStructure>().requested_resource_type; resource_quantities = structure.GetComponent <GenericStructure>().requested_resource_quantity; }
// Start is called before the first frame update void Start() { selectionHandler = GetComponent <SelectionStateHandler>(); panelHandler = GetComponent <PanelStateHandler>(); namePanelHandler = GetComponent <NamePanelStateHandler>(); }