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

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
hsen284
Posts: 21
Joined: 05 Apr 2018, 02:33

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

Post by hsen284 » 26 Apr 2019, 07:01

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);

User avatar
Karol
Posts: 567
Joined: 10 Jan 2012, 12:07

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

Post by Karol » 29 Apr 2019, 09:40

Please read this: https://www.ventuz.com/support/help/lat ... ipt_2.html
Especially the parts about the changed property

Best Regards
Karol

Post Reply