public override bool Match(int entityId) { lastEntityId = entityId; if ((playerComp = playerCompManager[entityId]) == null) { return(false); } if ((healthComp = healthCompManager[entityId]) == null) { return(false); } return(true); }
protected virtual void inpSysOnMouseDownHandler(uFrame.ECS.UnityUtilities.MouseDownDispatcher data, playerComp source) { var handler = inpSysOnMouseDownHandlerInstance; handler.System = this; handler.Event = data; handler.Source = source; handler.Execute(); }