UnityEngine.EventSystems.BaseInputModule.GetBaseEventData C# (CSharp) Method

GetBaseEventData() protected method

Generate a BaseEventData that can be used by the EventSystem.

protected GetBaseEventData ( ) : BaseEventData
return BaseEventData
        protected virtual BaseEventData GetBaseEventData()
        {
            if (this.m_BaseEventData == null)
            {
                this.m_BaseEventData = new BaseEventData(this.eventSystem);
            }
            this.m_BaseEventData.Reset();
            return this.m_BaseEventData;
        }