public void Disable() { Lock(); DecoratorPointerEvents.IsMute = true; DisableImage.sprite = DisabledSpriteProp.GetValue(); DisableImage.color = DisabledImageColorProp.GetValue(); DisableText.color = DisabledTextColorProp.GetValue(); }
public void Enable() { DisableImage.sprite = NormalSpriteProp.GetValue(); DisableImage.color = NormalImageColorProp.GetValue(); DisableText.color = NormalTextColorProp.GetValue(); DecoratorPointerEvents.IsMute = false; Unlock(); }