mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-24 16:46:03 +01:00
10 lines
340 B
C#
10 lines
340 B
C#
|
using System;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
/// None of this types or interface types are valid.
|
|||
|
[AttributeUsage(AttributeTargets.Field)]
|
|||
|
public class SerializeReferenceUIRestrictionExcludeTypes : PropertyAttribute
|
|||
|
{
|
|||
|
public readonly Type[] Types;
|
|||
|
public SerializeReferenceUIRestrictionExcludeTypes(params Type[] types) => Types = types;
|
|||
|
}
|