Преглед изворни кода

Use Log as LogMessage is deprecated.

Dominique Louis пре 1 месец
родитељ
комит
e233300c50
1 измењених фајлова са 1 додато и 1 уклоњено
  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);
                 }
             }