Fix compilation issues with various C++ scripting cases
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "Engine/Core/Types/Guid.h"
|
||||
#include "Engine/Core/ISerializable.h"
|
||||
#include "Engine/Scripting/ScriptingType.h"
|
||||
|
||||
/// <summary>
|
||||
/// Represents the reference to the scene asset. Stores the unique ID of the scene to reference. Can be used to load the selected scene.
|
||||
|
||||
@@ -2302,7 +2302,10 @@ namespace Flax.Build.Bindings
|
||||
separator = true;
|
||||
contents.Append(parameterInfo.Type).Append(' ').Append(parameterInfo.Name);
|
||||
}
|
||||
contents.Append(") override").AppendLine();
|
||||
contents.Append(')');
|
||||
if (functionInfo.IsConst)
|
||||
contents.Append(" const");
|
||||
contents.Append(" override").AppendLine();
|
||||
contents.AppendLine(" {");
|
||||
// TODO: try to use ScriptVTable for interfaces implementation in scripting to call proper function instead of manually check at runtime
|
||||
if (functionInfo.Parameters.Count != 0)
|
||||
|
||||
Reference in New Issue
Block a user