private Internal_SetNativeEvent ( IntPtr ptr ) : void | ||
ptr | IntPtr | |
Результат | void |
private static void Internal_MakeMasterEventCurrent() { if (Event.s_MasterEvent == null) { Event.s_MasterEvent = new Event(); } Event.s_Current = Event.s_MasterEvent; Event.Internal_SetNativeEvent(Event.s_MasterEvent.m_Ptr); }
private static void Internal_MakeMasterEventCurrent(int displayIndex) { if (Event.s_MasterEvent == null) { Event.s_MasterEvent = new Event(displayIndex); } Event.s_MasterEvent.displayIndex = displayIndex; Event.s_Current = Event.s_MasterEvent; Event.Internal_SetNativeEvent(Event.s_MasterEvent.m_Ptr); }
internal static void Internal_MakeMasterEventCurrent(int displayIndex) { bool flag = Event.s_MasterEvent == null; if (flag) { Event.s_MasterEvent = new Event(displayIndex); } Event.s_MasterEvent.displayIndex = displayIndex; Event.s_Current = Event.s_MasterEvent; Event.Internal_SetNativeEvent(Event.s_MasterEvent.m_Ptr); }