Files
Ipseity-Demo/Packages/OctoCore/Runtime/Scripts/Navigation/OctoTransitionProvider.cs
T
2026-07-17 18:30:24 +02:00

19 lines
800 B
C#

namespace OctoCore.Transitions
{
/// <summary>
/// Holds the currently active IOctoSceneTransition implementation.
/// The concrete implementation (e.g. an eyelid-blink component living outside the
/// OctoCore package, using LeanTween or any other tweening library) registers itself
/// here at runtime. OctoNavigation reads Current instead of referencing any concrete
/// type directly, keeping the package free of external dependencies.
/// </summary>
public static class OctoTransitionProvider
{
/// <summary>
/// The active transition implementation, or null if none has registered yet.
/// Callers in OctoCore must null-check before use.
/// </summary>
public static IOctoSceneTransition Current { get; set; }
}
}