예제 #1
0
        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'));
            }
        }
예제 #2
0
        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'));
            }
        }
예제 #3
0
        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'));
        }