UnityEngine.EventSystems.SwitchStandaloneInputModule.ActivateModule C# (CSharp) Method

ActivateModule() public method

public ActivateModule ( ) : void
return void
        public override void ActivateModule()
        {
            base.ActivateModule();
            m_MousePosition = Input.mousePosition;
            m_LastMousePosition = Input.mousePosition;

            var toSelect = eventSystem.currentSelectedGameObject;
            if (toSelect == null)
                toSelect = eventSystem.firstSelectedGameObject;

            eventSystem.SetSelectedGameObject(toSelect, GetBaseEventData());
        }