wip : scenes transitions
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user