revert stupid change
This commit is contained in:
parent
5dd6a3b0de
commit
b3c1d2fd14
@ -46,9 +46,6 @@ namespace NEG.UI.UnityUi.Buttons
|
|||||||
private void OnValidate()
|
private void OnValidate()
|
||||||
{
|
{
|
||||||
this.ValidateRefs();
|
this.ValidateRefs();
|
||||||
if(text == null || gameObject == null)
|
|
||||||
return;
|
|
||||||
text.text = gameObject.name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnDeselect(BaseEventData eventData) => OnDeselected?.Invoke(eventData is SilentEventData);
|
public void OnDeselect(BaseEventData eventData) => OnDeselected?.Invoke(eventData is SilentEventData);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user