ManagedResource_TInfo,TResource_.md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.Resource
ManagedResource<TInfo,TResource> Struct
Component type used to load managed resource with a AResourceManager<TInfo,TResource>.
public readonly struct ManagedResource<TInfo,TResource>
Type parameters
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. |