Method ValidateAsset
ValidateAsset(Object)
Validates that the referenced asset allowable for this asset reference.
선언
public override bool ValidateAsset(Object obj)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Object | obj | The Object to validate. |
반환
타입 | 설명 |
---|---|
bool | Whether the referenced asset is valid. |
오버라이드
ValidateAsset(string)
Validates that the asset located at a path is allowable for this asset reference. An asset is allowable if it is of the correct type or if one of its sub-asset is.
선언
public override bool ValidateAsset(string path)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | path |
반환
타입 | 설명 |
---|---|
bool | Whether the referenced asset is valid. |