Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.AssetBundlesTools.AResourceLoadingBehavior Class Referenceabstract

Detailed Description

Abstract class that provides base API of component based on a dynamic resource.

Inheritance diagram for Doloro.DataManagement.AssetBundlesTools.AResourceLoadingBehavior:
Collaboration diagram for Doloro.DataManagement.AssetBundlesTools.AResourceLoadingBehavior:

Public Member Functions

abstract void OnLoadingStarted ()
 Requesting content loading. More...
 
virtual void OnLoadingCompleted ()
 Occurs when loading process considered completed.
 
virtual void OnLoadingFailed ()
 Occurs when process considering failed.
 
virtual void DrawGUI ()
 Calls by external systems to update GUI with a data those relevant to the loader state. More...
 

Static Public Attributes

static System.Action< AResourceLoadingBehavioronStateChanged
 Occurs when some loaded is loaded. Shares reference to the loader.
 

Protected Member Functions

virtual void Awake ()
 Adding the loader to the LoaderUtils register.
 
virtual void OnDestroy ()
 Removing the loader from the LoaderUtils register.
 

Package Functions

void OnLoadingStartedInternal ()
 
void OnLoadingCompletedInternal ()
 
void OnLoadingFailedInternal ()
 

Properties

LoadingState State [get, set]
 Current state of the loading process. More...
 

Member Function Documentation

◆ DrawGUI()

virtual void Doloro.DataManagement.AssetBundlesTools.AResourceLoadingBehavior.DrawGUI ( )
virtual

Calls by external systems to update GUI with a data those relevant to the loader state.

Reimplemented in Doloro.DataManagement.AssetBundlesTools.CachedTagsResourcesLoader.

◆ OnLoadingStarted()

abstract void Doloro.DataManagement.AssetBundlesTools.AResourceLoadingBehavior.OnLoadingStarted ( )
pure virtual

Property Documentation

◆ State

LoadingState Doloro.DataManagement.AssetBundlesTools.AResourceLoadingBehavior.State
getset

Current state of the loading process.

Exceptions
System.NotSupportedExceptionAttempt to set LoadingState.NotStarted value.

The documentation for this class was generated from the following file: