19 lines
800 B
C#
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; }
|
|
}
|
|
}
|