Synced
AssetDependency.Constructor
Section titled “AssetDependency.Constructor”
- Creates an asset dependency descriptor.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public Inno.Assets.AssetDependency.AssetDependency(System.Guid persistentId, Inno.Extensibility.Types.TypeRef type, string lastKnownPath)Parameters
Section titled “Parameters”Parameter persistentId: The persistent identity of the referenced asset.
Parameter type: The reload-safe identity of the expected asset type.
Parameter lastKnownPath: The last known source-relative path.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when persistentId is empty.