protected virtual void healthSysNewEventNodeHandler(test.NewEventNode data, healthComp clickedentity) { var handler = healthSysNewEventNodeHandlerInstance; handler.System = this; handler.Event = data; handler.clickedEntity = clickedentity; handler.Execute(); }
public override bool Match(int entityId) { lastEntityId = entityId; if ((playerComp = playerCompManager[entityId]) == null) { return(false); } if ((healthComp = healthCompManager[entityId]) == null) { return(false); } return(true); }