Method RequireSubAsset
RequireSubAsset<T>(string, string)
A sub-object by name that MUST already be resident — the Get<T>(string) of sub-assets, with the same contract and the same loud failure. Acquire it with GetOrLoadSubAssetAsync<T>(string, string, AssetTier, CancellationToken) (typically when the thing that owns it is set up) and this becomes a dictionary hit.
public static T RequireSubAsset<T>(string parentAddress, string objectName) where T : Object
Parameters
Returns
- T
Type Parameters
T