internal bool ValidateAsset(IReferenceEntryData entryData) { return(AssetReferenceDrawerUtilities.ValidateAsset(m_AssetRefObject, Restrictions, entryData)); }
/// <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)); }