Refactor Plugins system to support plugins in C++ scripts
This commit is contained in:
@@ -418,6 +418,9 @@ namespace Flax.Build.Bindings
|
||||
case "CultureInfo":
|
||||
type = "void*";
|
||||
return "MUtils::ToManaged({0})";
|
||||
case "Version":
|
||||
type = "MonoObject*";
|
||||
return "MUtils::ToManaged({0})";
|
||||
default:
|
||||
// Object reference property
|
||||
if ((typeInfo.Type == "ScriptingObjectReference" ||
|
||||
@@ -590,6 +593,9 @@ namespace Flax.Build.Bindings
|
||||
case "CultureInfo":
|
||||
type = "void*";
|
||||
return "MUtils::ToNative({0})";
|
||||
case "Version":
|
||||
type = "MonoObject*";
|
||||
return "MUtils::ToNative({0})";
|
||||
default:
|
||||
// Object reference property
|
||||
if ((typeInfo.Type == "ScriptingObjectReference" ||
|
||||
|
||||
Reference in New Issue
Block a user