public void AddReact <TEntity>(Entitas.IMatcher <TEntity> matcher, System.Func <TEntity, bool> filter, System.Action <System.Collections.Generic.List <TEntity> > execute) where TEntity : class, Entitas.IEntity { AddReact(Entitas.CollectorContextExtension.CreateCollector(GetContext <TEntity>(), matcher), filter, execute); }
public void AddReactEach <TEntity>(Entitas.IMatcher <TEntity> matcher, System.Func <TEntity, bool> filter, System.Action <TEntity> execute) where TEntity : class, Entitas.IEntity { AddReact(matcher, filter, entities => entities.ForEach(execute)); }
public void AddReact <TEntity>(Entitas.IMatcher <TEntity> matcher, bool autoFilter, System.Action <System.Collections.Generic.List <TEntity> > execute) where TEntity : class, Entitas.IEntity { AddReact(matcher, e => !autoFilter || matcher.Matches(e), execute); }