A macro which automatically creates a Singleton instance property for a class. Add implements funkin.util.tools.ISingleton to your class to use.

Static methods

staticbuild():Dynamic

Applies an instance static field to the target class.

Returns:

The modified list of fields for the target class.