protected virtual void OnLocked() { backgroundImage.color = stylesheet.GetColorPreset(lockedColor); foregroundImage.sprite = stylesheet.lockSprite; foregroundImage.color = stylesheet.GetColorPreset(lockColor); text.text = ""; }