protected override string CalculateModificationFilePath(TextAsset asset, IAssetOrResourceLoadedContext context) { var path = asset.DefaultCalculateModificationFilePath(context); if (AllowTranslationRegistration && TextResourceHelper.IsRandomNameListAsset(asset.name)) { ExcludePathFromTranslationRegistration(path); } return(path); }
public bool IsRandomNameListAsset(string assetName) { return(TextResourceHelper.IsRandomNameListAsset(assetName)); }