Пример #1
0
 private void TriggerRegionEffects(GameObject triggerer)
 {
     //Custom event
     if (OnEnterRegion != null)
     {
         OnEnterRegion.Invoke(triggerer);
     }
 }
Пример #2
0
 public static void InvokeOnEnterRegion(Mobile m, Region oldRegion, Region newRegion) =>
 OnEnterRegion?.Invoke(m, oldRegion, newRegion);
Пример #3
0
 public static void InvokeOnEnterRegion(OnEnterRegionEventArgs e)
 {
     OnEnterRegion?.Invoke(e);
 }