public void AccessGranted(bool state)
        {
            if (state) {
                Fsm.Event(AccessGrantedEvent);
               		 } else {
                Fsm.Event(AccessDeniedEvent);
               	 	}

            _helper = null;
        }
        public void AccessGranted(bool state)
        {
            if (state)
            {
                Fsm.Event(AccessGrantedEvent);
            }
            else
            {
                Fsm.Event(AccessDeniedEvent);
            }

            _helper = null;
        }
 public override void OnEnter()
 {
     _helper = (new GameObject("RequestWebCamAccessHelper")).AddComponent <RequestWebCamAccessHelper>();
     _helper.RequestAuthorization(this);
 }
 public override void OnEnter()
 {
     _helper = ( new GameObject("RequestWebCamAccessHelper") ).AddComponent< RequestWebCamAccessHelper >();
     _helper.RequestAuthorization(this);
 }