Exemplo n.º 1
0
 void Update()
 {
     if (_timer < _interval)
     {
         _timer += Time.deltaTime;
         return;
     }
     _timer = 0.0f;
     Button.interactable = _runner.IsValid(_command);
 }
Exemplo n.º 2
0
 void UpdateValidation(GameState _)
 {
     _button.interactable = _runner.IsValid(_command);
 }