コード例 #1
0
 protected override void DoTick(float deltaTime)
 {
     if (!conditionSatisfied)
     {
         conditionSatisfied = condition();
         if (conditionSatisfied && then != null)
         {
             then.Start();
         }
     }
     if (conditionSatisfied && then != null)
     {
         then.Tick(deltaTime);
     }
 }