private void CreateThrottleTask() { Debug.LogError("123"); ThrottleTask.Invoke(() => { string name = NameSimulation.GetRandomChinesePersonalName(2); Debug.Log(name); }, 500, ThrottleStopType.Duration, 5000); }
private void Start() { Playable.played += p => Log.Info("Playable.played"); Playable.stopped += p => Log.Info("Playable.stopped"); Playable.paused += p => Log.Info("Playable.paused"); ThrottleTask.Invoke(() => { Log.Info(Playable.time.ToString()); }, 1000); }