Method SplitSubAsset
SplitSubAsset(string, out string, out string, out string)
Splits Assets/…/X.fbx[ClipName] — or Assets/…/X.fbx[ClipName:AnimationClip] — into the file path and the
object inside it. Any other string is a whole asset, so both outputs come back null and the path is
unchanged.
public static void SplitSubAsset(string declared, out string assetPath, out string subAsset, out string subAssetType)