Should the Needle Editor Sync (NES) component on a 3D object in Unity help show the latest value on a Component, on reload? I thought it would. I still have to F5 or refresh the page to see updates in the browser Developer Console. The console states the hot reload was done, again it does not show the updated value (number). I left the NES Component at its default values. Iāve tried it on the Content for a Scene, as well as directly on the 3D object. Am I just overlooking something simple? Thanks.
Console seen:
[Needle Engine] Hot reloading /src/scripts/ā¦
[vite] hot updated: /src/scripts/ā¦
Example code you can use to test:
export class Rotate extends Behaviour
{
start(){
// logging this is useful for debugging in the browser.
// You can open the developer console (F12) to see what data your component contains
console.log(this); // Works as expected
this.printNumber(42); // NES does not show this update if I for example change to 84, save the file in Visual Studio Code.
}
private printNumber(myNumber : number){
console.log("My Number is: " + myNumber);
}
}
by user 276719669878980608