mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-16 14:11:19 +07:00
flash tools log prefix
This commit is contained in:
@@ -55,7 +55,7 @@ namespace FlashTools.Internal {
|
||||
ReconvertAsset(asset);
|
||||
} else {
|
||||
Debug.LogErrorFormat(
|
||||
"Swf source for asset not found: '{0}'",
|
||||
"<b>[FlashTools]</b> Swf source for asset not found: '{0}'",
|
||||
GetSwfPath(asset));
|
||||
RevertOverriddenSettings(asset);
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace FlashTools.Internal {
|
||||
ConfigureAssetClips(asset);
|
||||
} catch ( Exception e ) {
|
||||
Debug.LogErrorFormat(
|
||||
"Postprocess swf asset error: {0}",
|
||||
"<b>[FlashTools]</b> Postprocess swf asset error: {0}",
|
||||
e.Message);
|
||||
SwfEditorUtils.DeleteAssetWithDepends(asset);
|
||||
}
|
||||
|
||||
@@ -47,7 +47,9 @@ namespace FlashTools.Internal {
|
||||
new SwfDecoder(swf_path));
|
||||
return true;
|
||||
} catch ( Exception e ) {
|
||||
Debug.LogErrorFormat("Parsing swf error: {0}", e.Message);
|
||||
Debug.LogErrorFormat(
|
||||
"<b>[FlashTools]</b> Parsing swf error: {0}",
|
||||
e.Message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -364,7 +364,9 @@ namespace FlashTools.Internal.SwfTools {
|
||||
|
||||
void TagToDebugLog(SwfTagBase tag) {
|
||||
if ( tag is UnsupportedTag || tag is UnknownTag ) {
|
||||
Debug.LogWarningFormat("SwfContextExecuter. {0}", tag);
|
||||
Debug.LogWarningFormat(
|
||||
"<b>[FlashTools]</b> SwfContextExecuter. {0}",
|
||||
tag);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace FlashTools.Internal.SwfTools.SwfTypes {
|
||||
fill_style.BitmapMatrix = SwfMatrix.Read(reader, true);
|
||||
} else {
|
||||
Debug.LogError(
|
||||
"imported .swf file contains vector graphics. " +
|
||||
"<b>[FlashTools]</b> Imported .swf file contains vector graphics. " +
|
||||
"You should use Tools/FlashExport.jsfl script for prepare .fla file");
|
||||
}
|
||||
return fill_style;
|
||||
|
||||
@@ -182,7 +182,7 @@ namespace FlashTools {
|
||||
}
|
||||
if ( _curSequence == null ) {
|
||||
Debug.LogWarningFormat(this,
|
||||
"SwfClip. Sequence '{0}' not found",
|
||||
"<b>[FlashTools]</b> Sequence '{0}' not found",
|
||||
sequence);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user