/************************************************************************************************************************/ /// <summary>Stores the details of the specified event.</summary> public static void CopyEvent(UltEventBase e) { var eventType = e.GetType(); if (_Event == null || _Event.GetType() != eventType) { _Event = (UltEventBase)Activator.CreateInstance(eventType); } _Event.CopyFrom(e); }
/************************************************************************************************************************/ /// <summary>Overwrites the specified event with the previously copied details.</summary> public static void Paste(UltEventBase e) { e.CopyFrom(_Event); }