private void SetAppState(AppState tempState, ActiveStation tempStation) { currentAppState = tempState; currentStation = tempStation; textAppState.text = currentAppState.ToString(); foreach (Listener listenerObj in GetComponents <Listener>()) { listenerObj.SetListenerState(); } }
public void SetActiveStation(int tempStation) { currentStation = (ActiveStation)tempStation; //currentAppState = AppState.InteractiveScanning; }