Init(args)
Scripting Reference
Loading...
Searching...
No Matches
Sisus.Init.InitAfterAttribute Class Referencesealed

Description

Attribute that can be added to an IInitializer class to specify that it should initialize its client only after some other types have been initialized.

This attribute only has an effect in situations where the client of the Initializer that contains this attribute, as well as instances of the types specified in the constructor, exist in the same scene, or the same prefab, so that they are loaded as part of the same batch.

See also
InitOrderAttribute

Public Member Functions

 InitAfterAttribute (params Type[] types)
 Attribute that can be added to an IInitializer class to specify that it should initialize its client only after some other types have been initialized.
 

Public Attributes

readonly Type[] types
 Types that should be initialized by their respective Initializers before the Initializer with this attribute initializes its client.