예제 #1
0
 private void methodTrigger(AnimatorTimer aTimer)
 {
     Debug.Log("iniciando metodo");
     aTimer.runMethod();
     Debug.Log("metodo ejecutado");
     aTimer.methodTrigger -= methodTrigger;
 }
예제 #2
0
 private void methodTrigger(AnimatorTimer aTimer)
 {
     Debug.Log("iniciando metodo");
     aTimer.runMethod();
     Debug.Log("metodo ejecutado");
     aTimer.methodTrigger -= methodTrigger;
 }
예제 #3
0
    public void StartTimerCoroutine(float time, MethodAfterTime method)
    {
        AnimatorTimer aTimer = new AnimatorTimer(time, method);

        aTimer.methodTrigger += methodTrigger;
        aTimer.runMethodAfterTime();
    }
예제 #4
0
 public void StartTimerCoroutine(float time, MethodAfterTime method)
 {
     AnimatorTimer aTimer = new AnimatorTimer(time, method);
     aTimer.methodTrigger += methodTrigger;
     aTimer.runMethodAfterTime();
 }
예제 #5
0
파일: Cast.cs 프로젝트: ClaudiaPC3/Crusade
 // Start is called before the first frame update
 void Start()
 {
     barra       = bar.GetComponent <Barra>();
     controlAnim = GetComponent <AnimatorTimer>();
 }