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