Table of Contents

Class LoadingService

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

ILoadingService 구현체. 실제 Loading UI 표시는 IUIService.ShowPopupAsync("Loading") 를 통해 처리하거나 Unity UI 오브젝트를 직접 제어하는 방식으로 Game 프로젝트에서 확장한다.

public sealed class LoadingService : ILoadingService
Inheritance
object
LoadingService
Implements

Properties

IsLoading

public bool IsLoading { get; }

Property Value

bool

Methods

HideLoading()

로딩 화면 숨김.

public void HideLoading()

ShowLoading(string)

로딩 화면 표시.

public void ShowLoading(string message = "")

Parameters

message string

ShowWhileAsync(UniTask, string, CancellationToken)

UniTask 를 감싸서 로딩 화면과 함께 실행. 완료 시 자동 숨김.

public UniTask ShowWhileAsync(UniTask task, string message = "", CancellationToken ct = default)

Parameters

task UniTask
message string
ct CancellationToken

Returns

UniTask