Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在制作一款 Iphone 游戏,我想要一个按钮在角色移动到它前面时停止可点击。你知道怎么做吗?
每当字符输入时,您都需要识别按钮的框架。一旦他们击中你需要做的框架 [button setEnabled:NO];
[button setEnabled:NO]