private void TriggerRegionEffects(GameObject triggerer) { //Custom event if (OnEnterRegion != null) { OnEnterRegion.Invoke(triggerer); } }
public static void InvokeOnEnterRegion(Mobile m, Region oldRegion, Region newRegion) => OnEnterRegion?.Invoke(m, oldRegion, newRegion);
public static void InvokeOnEnterRegion(OnEnterRegionEventArgs e) { OnEnterRegion?.Invoke(e); }