Example #1
0
 protected override void OnExecute()
 {
     valueA.value = (int)TaskTools.Operate(valueA.value, valueB.value, Operation);
     EndAction(true);
 }
Example #2
0
 protected override void OnExecute()
 {
     valueA.value = (Vector3)TaskTools.Operate(valueA.value, valueB.value, operation);
     EndAction();
 }