dotnet6 compat and 1.4 fixes

This commit is contained in:
2022-08-20 14:24:53 +03:00
parent b2ad9ac57c
commit 411c341278
5 changed files with 25 additions and 13 deletions

View File

@@ -47,9 +47,13 @@ namespace Game
#if FLAX_EDITOR
public class ConsoleEditorPlugin : GEditorPlugin
{
public override PluginDescription Description => ConsolePlugin.DescriptionInternal;
public override Type GamePluginType => typeof(ConsolePlugin);
public ConsoleEditorPlugin()
{
_description = ConsolePlugin.DescriptionInternal;
}
public override void Init()
{
//FlaxEngine.Debug.Log("ConsolePlugin initialized");

View File

@@ -278,7 +278,7 @@ namespace Game
Graphics.PostProcessSettings = postProcessSettings;
Graphics.EnableGlobalSDF = boolValue;
//Graphics.EnableGlobalSDF = boolValue;
}
}
@@ -306,7 +306,7 @@ namespace Game
}
}
[ConsoleVariable("r_gi_spacing")]
/*[ConsoleVariable("r_gi_spacing")]
public static string GlobalIlluminationProbeSpacing
{
get
@@ -322,7 +322,7 @@ namespace Game
Graphics.GIProbesSpacing = valueFloat;
}
}
}
}*/
[ConsoleVariable("r_gi_time")]
public static string GlobalIlluminationTime