godotengine / godotengine/godot-cpp

Can't bind user-defined type if it doesn't inherit from Object

Open
#692 4 comments 1 reaction 0 assignees View on GitHub
documentation
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

Assume that I have a class which do not inherit from anything

```
class UserDefineType
{
// Some properties.
};
```

There is no way that I can **ADD_PROPERTY** to use it in GDScript/C# as it requires PropertyInfo must be one of the variant type.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.