Thanks for your help, that worked.
That solves the flow of information from NC to NData.
The other direction is also causing me problems:
So far, the only way I have found to communicate a button click to NC is this: UIButton calls a function on my ViewModel, which in turn raises an event, which NC can detect. Is there a more compact way of doing this?
I tried to detect a mouse click on the collider of the button, but it does not get detected when I click the button in the UI camera (the click probably gets eaten by NGUI).
Login
Register
By registering on this website you agree to our Privacy Policy.