Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: hy on June 14, 2017, 11:58:31 AM

Title: Data binding possible for formula
Post by: hy on June 14, 2017, 11:58:31 AM
Is it possible to bind two data in NGUI, where 1 data changes upon on the other data based on a formula?
for example: z = 2*x+1, can i bind z and x?
if so, how extensive is the formula library? can it basically operate like excel formula library?
Title: Re: Data binding possible for formula
Post by: Shifty Geezer on June 16, 2017, 02:24:20 PM
No. It's just a UI library for displaying images and text. You'd need to write your own formula processing for an input enabled UI Label and call it in the On Submit event. http://www.tasharen.com/forum/index.php?topic=6752.0
Title: Re: Data binding possible for formula
Post by: hy on June 16, 2017, 05:25:32 PM
thanks for the quick reply. as far as you know, is there any editor or plugin i can use to do that? essentially act like a spreadsheet calc.
Title: Re: Data binding possible for formula
Post by: Shifty Geezer on June 17, 2017, 03:20:00 AM
Don't know, but I wouldn't have thought so. Very little call for parsing text input to maths formulas. This is a generic Unity question so ask around the forums.