Welcome,
Guest
. Please
login
or
register
.
October 04, 2024, 09:48:58 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How do you lock a button
« previous
next »
Print
Pages: [
1
]
Author
Topic: How do you lock a button (Read 1823 times)
Disastercake
Jr. Member
Thank You
-Given: 0
-Receive: 1
Posts: 87
www.disastercake.com
How do you lock a button
«
on:
December 26, 2014, 08:46:52 PM »
Is there an easy method of "locking" a button? For example if there is a menu option not available yet. I thought I had seen it a long time ago in NGUI, but I can't find any functionality with it now.
«
Last Edit: December 27, 2014, 02:17:53 AM by Disastercake
»
Logged
Creator of Soul Saga.
http://www.disastercake.com
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How do you lock a button
«
Reply #1 on:
December 27, 2014, 09:26:28 AM »
UIButton.isEnabled = false
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
How do you lock a button