public override void VerifyAssetState(SoAssetPostprocessor so) { WarnLogic.SetValue(false); var texturePostprocessorBase = so as SoSpriteAtlasPostprocessor; string message; if (!SpriteAtlasAssetPostprocessor.CompareSettings(GetSpriteAltas(), texturePostprocessorBase, out message)) { WarnLogic.SetValue(true); WarnLogic.SetMessage(message.TrimStart('\n')); } }
public override void VerifyAssetState(SoAssetPostprocessor so) { WarnLogic.SetValue(false); var modelPostprocessor = so as SoModelPostprocessor; string message; if (!ModelAssetPostprocessor.CompareSettings(GetAssetImporter <ModelImporter>(), modelPostprocessor, out message)) { WarnLogic.SetValue(true); WarnLogic.SetMessage(message.TrimStart('\n')); } }
public override void VerifyAssetState(SoAssetPostprocessor so) { WarnLogic.SetValue(false); var texturePostprocessorBase = so as SoTexturePostprocessorBase; var importer = GetAssetImporter <TextureImporter>(); string message; if (!TextureAssetPostprocessor.CompareSettings(GetAssetImporter <TextureImporter>(), texturePostprocessorBase, out message)) { WarnLogic.SetValue(true); } WarnLogic.SetMessage(message.TrimStart('\n')); }