// Use this for initialization void Start() { controller = GetComponentInParent <ChargingStationController>(); gameManager = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>(); }
public void SetChargingStation(ChargingStationController current = null) { currentChargingStation = current != null ? current : null; }