Skip to content

How do I use Go Node types as managed children nodes? #118

Answered by Splizard
ring-c asked this question in Q&A
Discussion options

You must be logged in to vote

You will want to use a pointer type for Go objects, so *Core instead of Core, and you may also want to implement the Node.Any interface:

func (core *Core) AsNode() Node.Instance { return core.Super().AsNode() }

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
2 participants