public static void FrameDelayCall(this MonoBehaviour component, Callback function, int frames = 1) { component.StartCoroutine( CoroutineUtility.RunThenCallback( CoroutineUtility.WaitForFrames(frames), function)); }
public static void FrameDelayCall(this MonoBehaviour component, Callback function, int frames = 1) { component.StartCoroutine( CoroutineUtility.RunThenCallback( CoroutineUtility.WaitForFrames(frames), function)); }