예제 #1
0
    public void UpdateEvent(float _time)
    {
        if (timeInfoList.Count == 0)
        {
            return;
        }

        for (int i = timeInfoList.Count - 1; i >= 0; i--)
        {
            TimeInfo tempTimeInfo = timeInfoList[i];
            if (tempTimeInfo == null)
            {
                continue;
            }

            if (!tempTimeInfo.UpdateTime(_time))
            {
                RemoveTargetIndexEvent(i);
            }
        }
    }