Table of Contents

Interface ISceneFlowSystem

Namespace
Framework.Systems.SceneFlow
Assembly
Assembly-CSharp.dll

StateMachine 기반 씬 전환 흐름 관리 계약.

public interface ISceneFlowSystem

Remarks

ISceneSystem이 단순 씬 로드/언로드를 담당하는 반면, ISceneFlowSystem은 흐름 단위(Loading → Play → Result 등) 상태 전환을 관리한다. 각 플로우는 IState를 구현하며 RegisterFlow로 등록한다.

Properties

CurrentFlow

현재 활성 플로우 이름.

string CurrentFlow { get; }

Property Value

string

Methods

TransitionAsync(string, CancellationToken)

대상 플로우로 비동기 전환. Exit 완료 후 Enter 실행.

UniTask TransitionAsync(string targetFlow, CancellationToken ct = default)

Parameters

targetFlow string

전환할 플로우 이름 (SceneNames 상수 사용 권장).

ct CancellationToken

전환 취소 신호.

Returns

UniTask