wip : scenes transitions

This commit is contained in:
2026-07-17 18:30:24 +02:00
parent 6dd3db9a07
commit 50f65e99a7
23 changed files with 915 additions and 1171 deletions
@@ -225,12 +225,14 @@ namespace OctoCore
{
/// <summary>
/// Fade in duration in seconds.
/// Also used as the eyelid opening duration for blink transitions.
/// </summary>
[Tooltip("Fade in duration")]
public float FadeInDuration = 0.5f;
/// <summary>
/// Fade out duration in seconds.
/// Also used as the eyelid closing duration for blink transitions.
/// </summary>
[Tooltip("Fade out duration")]
public float FadeOutDuration = 0.5f;
@@ -240,6 +242,27 @@ namespace OctoCore
/// </summary>
[Tooltip("Fade color")]
public Color FadeColor = Color.black;
/// <summary>
/// Time to hold the eyelids fully closed before reopening, on top of
/// whatever time the scene load or teleport itself takes.
/// </summary>
[Tooltip("Time to hold the eyelids fully closed before reopening")]
public float HoldClosedDuration = 0.1f;
/// <summary>
/// Fallback video clip used when a scene or teleporter doesn't specify
/// its own TransitionClip. Leave empty for a plain blink by default.
/// </summary>
[Tooltip("Fallback video clip used when a scene/teleporter has none assigned")]
public UnityEngine.Video.VideoClip DefaultTransitionClip;
/// <summary>
/// Fallback material applied to the video overlay when a scene or
/// teleporter doesn't specify its own TransitionMaterial.
/// </summary>
[Tooltip("Fallback material used when a scene/teleporter has none assigned")]
public Material DefaultTransitionMaterial;
}
/// <summary>