Beispiel #1
0
 bool IsFin(TweenCmd info)
 {
     if (info == null)
     {
         return(true);
     }
     if (Time.time - info.startTime >= info.duration)
     {
         return(true);
     }
     return(false);
 }
Beispiel #2
0
        public bool IsFin(int guid)
        {
            if (guid < 0 || guid > _guid)
            {
                return(true);
            }
            TweenCmd cmd = null;

            if (guidDict.TryGetValue(guid, out cmd))
            {
                if (cmd != null)
                {
                    return(cmd.Progress(Time.time) >= 1f);
                }
            }
            return(true);
        }