Skip to content

Commit

Permalink
Nit change on disable transition effects.
Browse files Browse the repository at this point in the history
  • Loading branch information
isadorasophia committed Oct 5, 2024
1 parent bf67e28 commit 12a8348
Showing 1 changed file with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
using Murder.Utilities.Attributes;
using System.Numerics;

namespace Murder.Components
namespace Murder.Components;

/// <summary>
/// Component that will disable any transition effects between scenes.
/// </summary>
[RuntimeOnly]
[Unique]
public readonly struct DisableSceneTransitionEffectsComponent : IComponent
{
/// <summary>
/// Component that will disable any transition effects between scenes.
/// </summary>
[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;
}

0 comments on commit 12a8348

Please sign in to comment.