Пример #1
0
 public StopInteractionConceptEvent(InteractionConcept oldConcept)
 {
     this.oldConcept = oldConcept;
 }
Пример #2
0
 public ChangeInteractionConceptEvent(InteractionConcept newConcept)
 {
     this.newConcept = newConcept;
 }
Пример #3
0
 public StartInteractionConceptEvent(InteractionConcept newConcept)
 {
     this.newConcept = newConcept;
 }
Пример #4
0
 public void OnEvent(ChangeInteractionConceptEvent newConcept)
 {
     EventBus.Post(new StopInteractionConceptEvent(currentConcept));
     EventBus.Post(new StartInteractionConceptEvent(newConcept.newConcept));
     currentConcept = newConcept.newConcept;
 }