コード例 #1
0
 /// <summary>
 /// 下一帧的LateUpdate中触发
 /// </summary>
 /// <param name="action"></param>
 public static void NextFrame(Action action)
 {
     if (action != null)
     {
         var item = ActionTimer.Create(action);
         item.RestFrame = 1;
         Instance._actionTimers.Add(item.Id, item);
     }
 }