Exemplo n.º 1
0
 private void InitializeEventDatas()
 {
     inputEventData        = new InputEventData(EventSystem.current);
     sourceStateEventData  = new SourceStateEventData(EventSystem.current);
     manipulationEventData = new ManipulationEventData(EventSystem.current);
     navigationEventData   = new NavigationEventData(EventSystem.current);
     holdEventData         = new HoldEventData(EventSystem.current);
 }
Exemplo n.º 2
0
 private void InitializeEventDatas()
 {
     inputEventData           = new InputEventData(EventSystem.current);
     sourceClickedEventData   = new InputClickedEventData(EventSystem.current);
     sourceStateEventData     = new SourceStateEventData(EventSystem.current);
     manipulationEventData    = new ManipulationEventData(EventSystem.current);
     navigationEventData      = new NavigationEventData(EventSystem.current);
     holdEventData            = new HoldEventData(EventSystem.current);
     pointerSpecificEventData = new PointerSpecificEventData(EventSystem.current);
 }
Exemplo n.º 3
0
 private void InitializeEventDatas()
 {
     inputEventData                   = new InputEventData(EventSystem.current);
     sourceClickedEventData           = new InputClickedEventData(EventSystem.current);
     sourceStateEventData             = new SourceStateEventData(EventSystem.current);
     manipulationEventData            = new ManipulationEventData(EventSystem.current);
     navigationEventData              = new NavigationEventData(EventSystem.current);
     holdEventData                    = new HoldEventData(EventSystem.current);
     speechKeywordRecognizedEventData = new SpeechKeywordRecognizedEventData(EventSystem.current);
     dictationEventData               = new DictationEventData(EventSystem.current);
 }
Exemplo n.º 4
0
        private void InitializeEventDatas()
        {
            inputEventData         = new InputEventData(EventSystem.current);
            sourceClickedEventData = new InputClickedEventData(EventSystem.current);
            sourceStateEventData   = new SourceStateEventData(EventSystem.current);
            manipulationEventData  = new ManipulationEventData(EventSystem.current);
            navigationEventData    = new NavigationEventData(EventSystem.current);
            holdEventData          = new HoldEventData(EventSystem.current);
#if UNITY_WSA || UNITY_STANDALONE_WIN
            speechKeywordRecognizedEventData = new SpeechKeywordRecognizedEventData(EventSystem.current);
            dictationEventData = new DictationEventData(EventSystem.current);
#endif
        }
Exemplo n.º 5
0
        private void InitializeEventDatas()
        {
            inputEventData          = new InputEventData(EventSystem.current);
            sourceClickedEventData  = new InputClickedEventData(EventSystem.current);
            sourceStateEventData    = new SourceStateEventData(EventSystem.current);
            manipulationEventData   = new ManipulationEventData(EventSystem.current);
            navigationEventData     = new NavigationEventData(EventSystem.current);
            holdEventData           = new HoldEventData(EventSystem.current);
            gamePadEventData        = new GamePadEventData(EventSystem.current);
            xboxControllerEventData = new XboxControllerEventData(EventSystem.current);
#if UNITY_WSA || UNITY_STANDALONE_WIN
            speechEventData    = new SpeechEventData(EventSystem.current);
            dictationEventData = new DictationEventData(EventSystem.current);
#endif
        }
Exemplo n.º 6
0
        private void InitializeEventDatas()
        {
            inputEventData           = new InputEventData(EventSystem.current);
            sourceClickedEventData   = new InputClickedEventData(EventSystem.current);
            sourceStateEventData     = new SourceStateEventData(EventSystem.current);
            manipulationEventData    = new ManipulationEventData(EventSystem.current);
            navigationEventData      = new NavigationEventData(EventSystem.current);
            holdEventData            = new HoldEventData(EventSystem.current);
            pointerSpecificEventData = new PointerSpecificEventData(EventSystem.current);
            inputPositionEventData   = new InputPositionEventData(EventSystem.current);
            selectPressedEventData   = new SelectPressedEventData(EventSystem.current);
            sourceRotationEventData  = new SourceRotationEventData(EventSystem.current);
            sourcePositionEventData  = new SourcePositionEventData(EventSystem.current);
            xboxControllerEventData  = new XboxControllerEventData(EventSystem.current);
#if UNITY_WSA || UNITY_STANDALONE_WIN
            speechEventData    = new SpeechEventData(EventSystem.current);
            dictationEventData = new DictationEventData(EventSystem.current);
#endif
        }