it is in a static class so I cannot use mono invoke.
using System;
// ...
public static void Invoke (){
Action t = Test;
t.Invoke();
}
private static void Test(){
Debug.Log("WORKS");
}
}
this seems to invoke the function immediately.
how would I make it invoke repeating OR how would I make it invoke after a certain time?
thanks in advance.
↧