Page 1 of 1

C# string output can't be detected when input changed

Posted: 26 Apr 2019, 07:01
by hsen284
I don't know if it's a c# issue since I'm not very good in c#

I'm doing a simple C# string input and output but whenever the input changed, the output can be seen changed in the script but a 2d text node can't detect that's this string changed so it'll remain the same.

So is there any way to make it auto detect the changed string?

Here's the script:

trimmed = input.Remove(input.Length - 2);

Re: C# string output can't be detected when input changed

Posted: 29 Apr 2019, 09:40
by Karol
Please read this: https://www.ventuz.com/support/help/lat ... ipt_2.html
Especially the parts about the changed property

Best Regards
Karol