private void _add(IAutoReleaseRef value) { if (pool.ContainsKey(value)) { pool[value] = Time.realtimeSinceStartup; return; } pool.Add(value, Time.realtimeSinceStartup); TickManager.Add(tick); }
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); } }