public void OnPairingComplete () { //Transit only from Pairing state. Else log error if (States.Pairing == (States)GetState ()) { ChangeState (States.Init); } else { Debug.LogError ("Invalid state to recieve OnPairingComplete"); } }