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

◆ Instantiate

bool? Sisus.Init.ServiceAttribute.Instantiate
getset

If true, then service instance will be a direct reference to an asset that is loaded using a resource path or an addressable key.

If false, then service instance will be a clone instantiated from an asset that is loaded using a resource path or an addressable key.

If null, and service asset is a prefab, then service instance will be a clone instantiated from the asset.

If null, and service asset is not a prefab, then service instance will be a direct reference to the asset.