protected override void DoTick(float deltaTime) { if (!conditionSatisfied) { conditionSatisfied = condition(); if (conditionSatisfied && then != null) { then.Start(); } } if (conditionSatisfied && then != null) { then.Tick(deltaTime); } }
protected override void DoTick(float deltaTime) { if (!conditionSatisfied) { conditionSatisfied = condition(); if (conditionSatisfied && then != null) { then.Start(); } } if (conditionSatisfied && then != null) { then.Tick(deltaTime); } }