hi,
im new in NGUI and im a bit confused with the execution hierarchy in UIBUttonMessage onRelease/Onclick
onRelease goes first then the onClick.
Im using UIButonMessage for my buttons to execute functions in my COntroller Script
and I want to prevent clicking buttons at the same time
void OnClickFunction ()
{
if (!GUIManager.canTrigger) {
Debug.Log ("can't click");
return;
}
GUIManager.canTrigger = false;
}
Problem: I dont have way to put the GUIManager.canTrigger = TRUE
im trying the onRelease but onRelease is Executed first

can someOne give me advices thanks