private bool isOn; //simple flag to check to make sure we are only turning things on or off and not some on, some off // Use this for initialization void Start () { lever = GetComponentInChildren<BNG_Lever>(); }
private bool isOn; //simple flag to check to make sure we are only turning things on or off and not some on, some off // Use this for initialization void Start() { lever = GetComponentInChildren <BNG_Lever>(); }