- Home /
button onclick called concurrently?
I know there must be an easy std way for this, but I can't seem to find it. I have a save button that saves a file. It works fine, until you click save a few times in quick succession. The file becomes longer than it should be, causing me to believe that the onclick is called concurrently, how do I stop this? Obviously I could have a condition that turns a button off after it was clicked, but then I need to find a way to switch it back on again later. There's probably a std way for this, as this would need to be added to all button calls, right?
Your answer
Follow this Question
Related Questions
Are UnityEngine.Object types still not thread safe? 1 Answer
Cube click pop-up menu 0 Answers
List/buttons 1 Answer
Reference For Button Which Calls OnClick 4 Answers
Looking for an invisible button (that actually works!) 1 Answer