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