Example #1
0
    public void StartTimerCoroutine(float time, MethodAfterTime method)
    {
        AnimatorTimer aTimer = new AnimatorTimer(time, method);

        aTimer.methodTrigger += methodTrigger;
        aTimer.runMethodAfterTime();
    }
Example #2
0
 public void StartTimerCoroutine(float time, MethodAfterTime method)
 {
     AnimatorTimer aTimer = new AnimatorTimer(time, method);
     aTimer.methodTrigger += methodTrigger;
     aTimer.runMethodAfterTime();
 }
Example #3
0
 public AnimatorTimer(float timeInput, MethodAfterTime methodInput) : base(timeInput)
 {
     method = methodInput;
     time = timeInput;
 }
Example #4
0
 public AnimatorTimer(float timeInput, MethodAfterTime methodInput) : base(timeInput)
 {
     method = methodInput;
     time   = timeInput;
 }