Fix .NET generic class typename to match old mono style without inlined assembly name and ver
This commit is contained in:
@@ -8,6 +8,7 @@ using FlaxEditor.Content;
|
||||
using FlaxEditor.Content.Settings;
|
||||
using FlaxEditor.Scripting;
|
||||
using FlaxEngine;
|
||||
using FlaxEngine.Utilities;
|
||||
|
||||
namespace FlaxEditor.Modules
|
||||
{
|
||||
|
||||
@@ -6,6 +6,7 @@ using System.Reflection;
|
||||
using FlaxEditor.Scripting;
|
||||
using FlaxEditor.Surface;
|
||||
using FlaxEngine;
|
||||
using FlaxEngine.Utilities;
|
||||
using MethodInfo = System.Reflection.MethodInfo;
|
||||
|
||||
namespace FlaxEditor.Modules.SourceCodeEditing
|
||||
@@ -106,7 +107,7 @@ namespace FlaxEditor.Modules.SourceCodeEditing
|
||||
|
||||
// Validate node type
|
||||
var typeName = Surface.Archetypes.Custom.GetNodeTypeName(arch);
|
||||
var type = Scripting.TypeUtils.GetType(typeName).Type;
|
||||
var type = TypeUtils.GetType(typeName).Type;
|
||||
if (type == null)
|
||||
{
|
||||
Debug.LogWarning(string.Format("Method {0} from {1} returned invalid node archetype. Failed to find node logic defined in type {2}.", method, method.DeclaringType, typeName));
|
||||
|
||||
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using FlaxEditor.Scripting;
|
||||
using FlaxEngine;
|
||||
using FlaxEngine.Utilities;
|
||||
|
||||
namespace FlaxEditor.Modules.SourceCodeEditing
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@ using FlaxEditor.Options;
|
||||
using FlaxEditor.Scripting;
|
||||
using FlaxEngine;
|
||||
using FlaxEngine.GUI;
|
||||
using FlaxEngine.Utilities;
|
||||
|
||||
namespace FlaxEditor.Modules.SourceCodeEditing
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user