Author Topic: Can I manually trigger the UI Input OnChange functions?  (Read 1381 times)

Lohoris

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 11
    • View Profile
Can I manually trigger the UI Input OnChange functions?
« on: September 01, 2014, 05:10:20 AM »
I've noticed that UI Input doesn't call its OnChange functions when it assignes itself the startingValue, as I would have expected.

So I decided to set myself via code the starting value, assuming the OnChange functions would get called... but no, they aren't called either.

Can I manually trigger them somehow?

Lohoris

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: Can I manually trigger the UI Input OnChange functions?
« Reply #1 on: September 01, 2014, 06:04:27 AM »
Ok I've just noticed the MarkAsChanged, I guess that's that, but I can't test it right now.

I'll leave it here instead of deleting it, just in case someone else finds it and needs the answer.