示例#1
0
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.Position, ViewMatcher.UnityTransform)));
 }
示例#2
0
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.SpriteVisual, ViewMatcher.View)));
 }
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.View, ViewMatcher.CoreEntityReference)));
 }
 protected override ICollector <ViewEntity> GetTrigger(IContext <ViewEntity> context)
 {
     return(context.CreateCollector(ViewMatcher.AllOf(ViewMatcher.Asset).NoneOf(ViewMatcher.View)));
 }