public void Update(float dt) { var args = new UIUpdateEventArgs(dt); foreach (var uiComponent in Components) { uiComponent.Update(args); } var handler = OnUpdate; handler?.Invoke(this, args); }
public override void Update(UIUpdateEventArgs args) { }
public abstract void Update(UIUpdateEventArgs args);