Expose the "new" operator
BonitoFlakes
Expose the "new" operator so that we can create new instances of custom objects at runtime. Currently, the lack of support for creating new instances of classes forces us into less-ideal workarounds.
Right now, the solution I got is to store my entities data in DataDictionary. While this works, it becomes cumbersome and less maintainable compared to using proper typed data structures. The alternative—creating a separate UdonBehavior for each entity—adds unnecessary overhead due to the cost of additional UdonBehavior/MonoBehaviour components, which isn’t practical for systems that involve many entities.
Having access to the new operator would greatly improve workflow, performance, and code clarity for complex projects and it would allow developers to build more scalable systems
Log In