Vixen
dd8b0a81
csharp
public sealed class RunsAfterAttribute

Says a contribution must attach after whatever provides a service.

Read the guide page for this →

As a annotation

Valid on
Class, repeatable

Remarks

⚠ Naming a service, not a contribution — see ProvidesAttribute for why that is the only form the layering permits.

⚠ Unmet is not an error. Nothing providing the service is the ordinary situation a contribution already handles — PlayTerrainColliders returns without adding a system when the session has no PhysicsScene, which is "a terrain with no collision, not an error". So an unmet edge leaves the contribution where registration order put it and is *named* in PlayModeController.Ordering, on this repository's standing rule that a part of the frame which did not happen is said out loud.

Fields and properties (1)

  • public Type Service

    The service type.

Methods (1)

  • public RunsAfterAttribute(Type service)

    Says a contribution must attach after whatever provides a service.

Used by (4)

  • DeclaredConsumerVixen.Editor.SceneView.Tests
  • PlayPhysicsVixen.Editor.App
  • PlaySystemOrderVixen.Editor.SceneView
  • PlayTerrainCollidersVixen.Editor.Terrain.Physics