/// <summary>Adds this instance to the update queue.</summary> public void enqueue() { if (enqueued) { return; } enqueued = true; after = null; before = last; if (first == null) { first = last = this; // Enqueue in the update system: updater = OnUpdate.Add(updateAll); } else { last.after = this; last = this; } }