diff --git a/src/Murder/Components/World/DisableSceneTransitionEffectsComponent.cs b/src/Murder/Components/World/DisableSceneTransitionEffectsComponent.cs index 470610c5c..6332afd11 100644 --- a/src/Murder/Components/World/DisableSceneTransitionEffectsComponent.cs +++ b/src/Murder/Components/World/DisableSceneTransitionEffectsComponent.cs @@ -2,19 +2,18 @@ using Murder.Utilities.Attributes; using System.Numerics; -namespace Murder.Components +namespace Murder.Components; + +/// +/// Component that will disable any transition effects between scenes. +/// +[RuntimeOnly] +[Unique] +public readonly struct DisableSceneTransitionEffectsComponent : IComponent { - /// - /// Component that will disable any transition effects between scenes. - /// - [RuntimeOnly] - [Unique] - public readonly struct DisableSceneTransitionEffectsComponent : IComponent - { - public readonly Vector2? OverrideCameraPosition = null; + public readonly Vector2? OverrideCameraPosition = null; - public DisableSceneTransitionEffectsComponent() { } + public DisableSceneTransitionEffectsComponent() { } - public DisableSceneTransitionEffectsComponent(Vector2 bounds) => OverrideCameraPosition = bounds; - } + public DisableSceneTransitionEffectsComponent(Vector2 bounds) => OverrideCameraPosition = bounds; } \ No newline at end of file