Example #1
0
 public override bool Match(int entityId)
 {
     lastEntityId = entityId;
     if ((playerComp = playerCompManager[entityId]) == null)
     {
         return(false);
     }
     if ((healthComp = healthCompManager[entityId]) == null)
     {
         return(false);
     }
     return(true);
 }
Example #2
0
        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();
        }