コード例 #1
0
        public void AccessGranted(bool state)
        {
            if (state) {
                Fsm.Event(AccessGrantedEvent);
               		 } else {
                Fsm.Event(AccessDeniedEvent);
               	 	}

            _helper = null;
        }
コード例 #2
0
        public void AccessGranted(bool state)
        {
            if (state)
            {
                Fsm.Event(AccessGrantedEvent);
            }
            else
            {
                Fsm.Event(AccessDeniedEvent);
            }

            _helper = null;
        }
コード例 #3
0
 public override void OnEnter()
 {
     _helper = (new GameObject("RequestWebCamAccessHelper")).AddComponent <RequestWebCamAccessHelper>();
     _helper.RequestAuthorization(this);
 }
コード例 #4
0
 public override void OnEnter()
 {
     _helper = ( new GameObject("RequestWebCamAccessHelper") ).AddComponent< RequestWebCamAccessHelper >();
     _helper.RequestAuthorization(this);
 }