public IconsUpdaterSystem(Contexts contexts, RectTransform upperObject) { this.upperObject = upperObject; var context = contexts.wppAccrual; movingAwardsGroup = context.GetGroup(WppAccrualMatcher .AllOf(WppAccrualMatcher.MovingIcon, WppAccrualMatcher.View, WppAccrualMatcher.Position)); }
public IconsDataUpdaterSystem(Contexts contexts) { var context = contexts.wppAccrual; movingIconsGroup = context.GetGroup(WppAccrualMatcher.AllOf( WppAccrualMatcher.MovingIcon, WppAccrualMatcher.Alpha, WppAccrualMatcher.Position, WppAccrualMatcher.Scale)); }
protected override ICollector <WppAccrualEntity> GetTrigger(IContext <WppAccrualEntity> context) { return(context.CreateCollector(WppAccrualMatcher.AllOf(WppAccrualMatcher.MovingIcon) .NoneOf(WppAccrualMatcher.View, WppAccrualMatcher.Image))); }