modify
This commit is contained in:
parent
35a5416cc4
commit
9feba7e69f
@ -189,6 +189,12 @@ public class UXButton : UIBehaviour, IPointerDownHandler, IPointerUpHandler, IPo
|
||||
return m_Mode == ButtonModeType.Toggle && m_IsTogSelected;
|
||||
}
|
||||
|
||||
public void SetSelect(bool state)
|
||||
{
|
||||
if (m_Mode != ButtonModeType.Toggle) return;
|
||||
IsSelected = state;
|
||||
}
|
||||
|
||||
private void ProcessClick()
|
||||
{
|
||||
if (m_Mode == ButtonModeType.Normal)
|
||||
|
Loading…
Reference in New Issue
Block a user