private void OnCameraDrawOrderChanged(CameraComponent component, int previousDrawOrder) { if (component.Enabled) { _enabledCameras.Update(component, previousDrawOrder); } }
public void OnNodeZChanged(Node node, float previousZ) { foreach (var uiComponent in node.Components.OfType <SkiUiComponent>()) { _components.Update(uiComponent, -previousZ); } }
private void PartUpdateOrderChanged(UpdateableComponentPart updateablePart, int previousUpdateOrder) { _layeredUpdateableParts.Update(updateablePart, previousUpdateOrder); }