Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ ServicesAreReady

bool Sisus.Init.ServiceUtility.ServicesAreReady
staticget

true if all shared services that are loaded synchronously during game initialization have been created, initialized and are ready to be used by clients; otherwise, false.

This only takes into consideration services that are initialized synchronously during game initialization. To determine if all asynchronously initialized services are also ready to be used, use AsyncServicesAreReady instead.

This only takes into consideration services defined using the ServiceAttribute (EditorServiceAttribute in Edit Mode). Services set up in scenes and prefabs using ServiceTag and Services components are not guaranteed to be yet loaded even if this is true. Services that are registered manually using Service.Set<TService> are also not guaranteed to be loaded even if this is true.