mirror of
https://github.com/AssetRipper/AssetRipper.Mining.git
synced 2026-11-13 18:06:40 -10:00
12 lines
316 B
C#
12 lines
316 B
C#
using AssetsTools.NET;
|
|
|
|
namespace AssetRipper.Mining.EngineFileExtractor;
|
|
|
|
internal static class AssetTypeValueFieldExtensions
|
|
{
|
|
public static AssetTypeValueField? TryGet(this AssetTypeValueField @this, string name)
|
|
{
|
|
AssetTypeValueField result = @this.Get(name);
|
|
return result.IsDummy ? null : result;
|
|
}
|
|
} |