コード例 #1
0
 internal bool ValidateAsset(IReferenceEntryData entryData)
 {
     return(AssetReferenceDrawerUtilities.ValidateAsset(m_AssetRefObject, Restrictions, entryData));
 }
コード例 #2
0
 /// <summary>
 /// Validates that the referenced asset allowable for this asset reference.
 /// </summary>
 /// <param name="path">The path to the asset in question.</param>
 /// <returns>Whether the referenced asset is valid.</returns>
 public bool ValidateAsset(string path)
 {
     return(AssetReferenceDrawerUtilities.ValidateAsset(m_AssetRefObject, Restrictions, path));
 }