This commit is contained in:
stefnotch
2021-02-08 09:48:46 +01:00
parent f9deb97229
commit c7feeb624d
7 changed files with 12 additions and 11 deletions

View File

@@ -241,10 +241,10 @@ namespace FlaxEditor.Windows.Assets
/// Shows the material source code window.
/// </summary>
/// <param name="material">The material asset.</param>
public static void ShowSourceCode(Material material)
public void ShowSourceCode(Material material)
{
var source = Editor.GetShaderSourceCode(material);
Utilities.Utils.ShowSourceCodeWindow(source, "Material Source");
Utilities.Utils.ShowSourceCodeWindow(source, "Material Source", RootWindow.Window);
}
/// <summary>