-
Was read #43 but cant get a node from exported go type. Example:
I want a node Core in it
I tried this:
|
Beta Was this translation helpful? Give feedback.
Answered by
Splizard
Apr 8, 2025
Replies: 1 comment
-
You will want to use a pointer type for Go objects, so func (core *Core) AsNode() Node.Instance { return core.Super().AsNode() } |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ring-c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will want to use a pointer type for Go objects, so
*Core
instead ofCore
, and you may also want to implement theNode.Any
interface: