protected virtual void PointsOnDestroyComponentDestroyed(PointsOnDestroy data, PointsOnDestroy group) { var handler = new PointsOnDestroyComponentDestroyed(); handler.System = this; handler.Event = data; handler.Group = group; StartCoroutine(handler.Execute()); }
protected void PointsOnDestroyComponentDestroyedFilter(PointsOnDestroy data) { var GroupPointsOnDestroy = PointsOnDestroyManager[data.EntityId]; if (GroupPointsOnDestroy == null) { return; } if (!GroupPointsOnDestroy.Enabled) { return; } this.PointsOnDestroyComponentDestroyed(data, GroupPointsOnDestroy); }