ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


ActiveLoaderAs<T>()

Returns the current active loader, cast to the requested type. Useful shortcut when you need to get the active loader as something less generic than AdaptivePerformanceLoader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public T ActiveLoaderAs<T>() where T : AdaptivePerformanceLoader

Returns

Type

Description

TThe active loader as requested type, or null if no active loader currently exists.