Skip to main content

PlatformLoader

An abstract class in Root.Township, the global namespace.

Base class for a platform specific startup step. StartupLoader runs every loader's Load together and stops if any fails.

Constructors​

MemberWhat it is
protected PlatformLoader()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
abstract Task<bool> Load()Runs the startup step. Returns false if it failed.

Used in​

Members of other types that take, return or hold a PlatformLoader: