Skip to content

Attributes

Alexis Brooks edited this page Mar 12, 2026 · 4 revisions

SingletonNodeAttribute()

A Node-derived class decorated with this attribute can have only one instance at a time. It generates a partial constructor implementation, requiring the decorated class to declare the definition; any code that typically goes into the constructor should be put in an implementation of generated partial method Init.

OnReadyNodeAttribute(string path)

A Node field decorated with this attribute is included in generated private method InitNodePaths, which should be called in the containing class's _Ready method.

Clone this wiki locally