Inheritance: BaseInteraction
Beispiel #1
0
 private void StartEvent(EventInteraction eventInteraction)
 {
     if (eventInteraction == null)
     {
         return;
     }
     eventInteraction.StartEvent(gameObject);
 }
Beispiel #2
0
 /*
 ============================================================================
 Start/end functions
 ============================================================================
 */
 public void StartEvent(EventInteraction interact)
 {
     if(this.step.Length > 0 && !this.executing)
     {
         this.interaction = interact;
         this.StartEvent();
     }
 }
Beispiel #3
0
 void OnButtonDown()
 {
     EventInteraction?.Invoke(this);
 }