Beispiel #1
0
 public void Execute()
 {
     if (Start_start != null && running)
     {
         Start_start.Execute();
     }
 }
Beispiel #2
0
 public virtual void Execute()
 {
     if (exec_next != null)
     {
         exec_next.Execute();
     }
 }
Beispiel #3
0
 // Update is called once per frame
 void Update()
 {
     //run from Update_start
     if (Update_start != null && running)
     {
         Update_start.Execute();
     }
 }
Beispiel #4
0
 public override void Execute()
 {
     Debug.Log((bool)input_a.Output());
     if ((bool)input_a.Output())
     {
         exec_next.Execute();
     }
     else
     {
         exec_false_next.Execute();
     }
 }