示例#1
0
文件: Modal.cs 项目: interess/GGJ2018
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.ModalUnit, StateMatcher.FlagActive).Added());
     Trigger(StateMatcher.AllOf(StateMatcher.ModalUnit, StateMatcher.FlagOpened).Added());
     Trigger(StateMatcher.AllOf(StateMatcher.ModalUnit).NoneOf(StateMatcher.FlagActive).Added());
     Trigger(StateMatcher.AllOf(StateMatcher.ModalUnit).NoneOf(StateMatcher.FlagOpened).Added());
 }
示例#2
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.LoadingManagerUnit).Added());
     Trigger(StateMatcher.AllOf(StateMatcher.Application, StateMatcher.Loaded).Added());
 }
示例#3
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Application, StateMatcher.LoadingProgress).Added());
 }
示例#4
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Channel, StateMatcher.ChannelFinished).Added());
 }
示例#5
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Level, StateMatcher.FlagActive, StateMatcher.FlagLoaded).Added());
 }
示例#6
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Channel, StateMatcher.FlagActive).Added());
     Trigger(StateMatcher.AllOf(StateMatcher.Channel).NoneOf(StateMatcher.FlagActive).Added());
 }
示例#7
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Channel, StateMatcher.ChannelRecording).Added());
     Trigger(StateMatcher.AllOf(StateMatcher.Channel, StateMatcher.ChannelRecording).Removed());
 }
示例#8
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Level, StateMatcher.FlagActive).Removed());
 }
示例#9
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.Effect, StateMatcher.EffectId).Added());
 }
示例#10
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.UidUnit, StateMatcher.Uid).Added());
 }
示例#11
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.ProductUnit).Added());
 }
示例#12
0
 protected override void SetTriggers()
 {
     Trigger(StateMatcher.AllOf(StateMatcher.LevelPart).NoneOf(StateMatcher.Uid).Added());
 }
示例#13
0
 protected override void SetTriggers()
 {
     Trigger(Contexts.input.CreateCollector(InputMatcher.AllOf(InputMatcher.FlagTrash, InputMatcher.FlagTrashValidated).Added()));
     Trigger(Contexts.state.CreateCollector(StateMatcher.AllOf(StateMatcher.FlagTrash, StateMatcher.FlagTrashValidated).Added()));
 }