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