I’m trying to create a interface in C# that will pass an array of strings to my GUI controller and I’m wondering how I’m able to do that with a basic TS class, every time I add a typescript class and the corresponding backing .cs class I get an error when I try and add that component to a game object.
I just want to put multiple components of this gui controller into the scene set their arrays of buttons / text then pass those to a manager that will generate them.
I understand that on the export class UIController extends BABYLON.MeshComponent {
The var myProperty = this.getProperty("SomeProperty", "default"); Will get me these backing properties but I want to be able to get many and use the same class to generate them. Do I need to have a component extend from the MeshComponent to be able to call it from C#?