Component type used to load managed resource with a AResourceManager<TInfo,TResource>.
public readonly struct ManagedResource<TInfo,TResource>
TInfo
The type used to identify a resource.
TResource
The type of the resource.
Constructors | |
---|---|
ManagedResource(TInfo) | Creates a component of type ManagedResource<TInfo,TResource> used to load a resource of type TResource. |
Fields | |
---|---|
Info | Gets the info about the resource to load. |