Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

how to make System.Action invoking?

$
0
0
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.

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>