Example #1
0
 private void _add(IAutoReleaseRef value)
 {
     if (pool.ContainsKey(value))
     {
         pool[value] = Time.realtimeSinceStartup;
         return;
     }
     pool.Add(value, Time.realtimeSinceStartup);
     TickManager.Add(tick);
 }
Example #2
0
 private void add(float delayTime, Action <float> handler)
 {
     __addHandle(handler, Time.time + delayTime, true);
     if (len > 0)
     {
         TickManager.Add(render);
     }
     else if (firstNode != null)
     {
         TickManager.Add(render);
         Debug.LogError("callLater has a bug+" + len);
     }
 }