|
|
@@ -113,7 +113,7 @@ public class ULockWidget : MonoBehaviour, IPointerClickHandler
|
|
|
{
|
|
|
if (mUIButton != null)
|
|
|
{
|
|
|
- mUIButton.enabled = false;
|
|
|
+ mUIButton.interactable = false;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -135,7 +135,7 @@ public class ULockWidget : MonoBehaviour, IPointerClickHandler
|
|
|
{
|
|
|
if (mUIButton != null)
|
|
|
{
|
|
|
- mUIButton.enabled = true;
|
|
|
+ mUIButton.interactable = true;
|
|
|
}
|
|
|
|
|
|
//TODO 恢复正常颜色
|