Quellcode durchsuchen

Use Log as LogMessage is deprecated.

Dominique Louis vor 1 Monat
Ursprung
Commit
e233300c50
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      ShatterEffectSample/Processor/ShatterProcessor.cs

+ 1 - 1
ShatterEffectSample/Processor/ShatterProcessor.cs

@@ -179,7 +179,7 @@ namespace ShatterEffectProcessor
                 // Add the textures in the source Material to our effect.
                 if (!effect.Textures.ContainsKey("modelTexture"))
                 {
-                    context.Logger.LogMessage("Adding texture: " + texture.Name);
+                    context.Logger.Log("Adding texture: " + texture.Name);
                     effect.Textures.Add("modelTexture", texture);
                 }
             }