mirror of
https://github.com/AssetRipper/AssetRipper.git
synced 2025-12-11 20:15:29 +01:00
19 lines
537 B
C#
19 lines
537 B
C#
using AssetRipper.SourceGenerated.Extensions.Enums.Shader.SerializedShader;
|
|
using AssetRipper.SourceGenerated.Subclasses.SerializedProperty;
|
|
|
|
namespace AssetRipper.SourceGenerated.Extensions
|
|
{
|
|
public static class SerializedPropertyExtensions
|
|
{
|
|
public static SerializedPropertyType GetType_(this ISerializedProperty property)
|
|
{
|
|
return (SerializedPropertyType)property.Type;
|
|
}
|
|
|
|
public static SerializedPropertyFlag GetFlags(this ISerializedProperty property)
|
|
{
|
|
return (SerializedPropertyFlag)property.Flags;
|
|
}
|
|
}
|
|
}
|