Beispiel #1
0
 /// <summary>
 /// Handles the unhandled trigger.
 /// </summary>
 /// <param name="state">State.</param>
 /// <param name="trigger">Trigger.</param>
 private void OnHandleUnhandledTrigger(EState state, ETrigger trigger)
 {
     Log.E(this, "Received unhandled trigger {" + trigger + "} for state: " + state);
     if (ETrigger.ConnectionLost == trigger)
     {
         Log.E(this, "The connection was lost. Cleaning up the test.");
     }
 }
    public void SetTrigger(ETrigger triggerType)
    {
        Log.Debug(string.Format("RunScheduleAnimController.SetTrigger; {0}", triggerType));

        if (ETrigger.MAX == triggerType)
        {
            return;
        }

        setTrigger(triggerType);
    }
Beispiel #3
0
    private void reset(ETrigger triggerType)
    {
        string s = triggerType.ToString();

        _animator.ResetTrigger(s);
    }