Execute() публичный абстрактный Метод

public abstract Execute ( ) : void
Результат void
Пример #1
0
 public override void Execute()
 {
     if (boolVariable.value)
     {
         actionTrue.Execute();
     }
     else
     {
         for (int i = 0; i < actionFalse.Length; i++)
         {
             actionFalse[i].Execute();
         }
     }
 }
Пример #2
0
 public override void Execute()
 {
     if (targetBool.value)
     {
         if (onTrueAction != null)
         {
             onTrueAction.Execute();
         }
     }
     else
     {
         if (onFalseAction != null)
         {
             onFalseAction.Execute();
         }
     }
 }
Пример #3
0
 public override void Execute(StateManager states)
 {
     monoAction.Execute();
 }