C# Class KEngine.SceneLoader

Inheritance: AbstractResourceLoader
Datei anzeigen Open project: mr-kelly/KEngine

Public Methods

Method Description
Load ( string url, System callback = null, LoaderMode mode = LoaderMode.Async ) : SceneLoader

Protected Methods

Method Description
DoDispose ( ) : void
Init ( string url ) : void

Private Methods

Method Description
EditorLoadSceneBugFix ( AsyncOperation op ) : IEnumerator

编辑器模式下,场景加载完毕,刷新所有material的shader确保显示正确, unity b.u.g

RefreshAllMaterialsShaders ( ) : void

编辑器模式下,对全部GameObject刷新一下Material

Start ( ) : IEnumerator

Method Details

DoDispose() protected method

protected DoDispose ( ) : void
return void

Init() protected method

protected Init ( string url ) : void
url string
return void

Load() public static method

public static Load ( string url, System callback = null, LoaderMode mode = LoaderMode.Async ) : SceneLoader
url string
callback System
mode LoaderMode
return SceneLoader