Class AssetReferenceUIRestriction
Used to restrict an AssetReference field or property to only allow items wil specific labels. This is only enforced through the UI.
구현
상속된 멤버
네임스페이스: UnityEngine
어셈블리: solution.dll
구문
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true)]
public class AssetReferenceUIRestriction : Attribute, _Attribute
메서드
이름 | 설명 |
---|---|
ValidateAsset(string) | Validates that the referenced asset allowable for this asset reference. |
ValidateAsset(Object) | Validates that the referenced asset allowable for this asset reference. |