Class AssetReferenceUIRestriction
Used to restrict an AssetReference field or property to only allow items wil specific labels. This is only enforced through the UI.
Implements
Inherited Members
Namespace: UnityEngine
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true)]
public class AssetReferenceUIRestriction : Attribute, _Attribute
Methods
Name | Description |
---|---|
Validate |
Validates that the referenced asset allowable for this asset reference. |
Validate |
Validates that the referenced asset allowable for this asset reference. |