Fix nullable warnings

This commit is contained in:
Wojtek Figat
2023-06-28 20:09:01 +02:00
parent 04c1cf469d
commit 3119c50789
4 changed files with 13 additions and 13 deletions

View File

@@ -96,7 +96,7 @@ namespace FlaxEngine.Interop
}
#if FLAX_EDITOR
private static Assembly? OnScriptingAssemblyLoadContextResolving(AssemblyLoadContext assemblyLoadContext, AssemblyName assemblyName)
private static Assembly OnScriptingAssemblyLoadContextResolving(AssemblyLoadContext assemblyLoadContext, AssemblyName assemblyName)
{
// FIXME: There should be a better way to resolve the path to EditorTargetPath where the dependencies are stored
string editorTargetPath = Path.GetDirectoryName(nativeLibraryPaths.Keys.First(x => x != "FlaxEngine"));