Table of Contents

Method SubAssetKey

Namespace
GrindFest.Content
Assembly
GrindFest.dll

SubAssetKey(string, string)

The address of an object inside an asset: Assets/…/Drink Potion.fbx[Drink Potion].

A sub-asset is a content entry like any other under this key, which is why sub-asset lookup has no loading path of its own any more. The bracket is not new to this file either: RequireSubAsset<T>(string, string) has always built its error address this way, and it is what the declaration writes for a clip entry.

public static string SubAssetKey(string parentAddress, string objectName)

Parameters

parentAddress string
objectName string

Returns

string