Fix scripting api bindings for types with changed scripting name (other than native type name)

This commit is contained in:
Wojciech Figat
2022-10-26 15:00:29 +02:00
parent d90245bf32
commit 19f1c4251c
6 changed files with 10 additions and 6 deletions

View File

@@ -10,7 +10,8 @@ API_INJECT_CODE(cpp, "#include \"Engine/Platform/User.h\"");
/// <summary>
/// Native platform user object.
/// </summary>
API_CLASS(NoSpawn, NoConstructor, Sealed, Name="User") class FLAXENGINE_API UserBase : public ScriptingObject
API_CLASS(NoSpawn, NoConstructor, Sealed, Name="User")
class FLAXENGINE_API UserBase : public ScriptingObject
{
DECLARE_SCRIPTING_TYPE_NO_SPAWN(UserBase);
protected: