//---------------------------------------------------------------------------------------------------------- #region Unity callbacks protected void Awake() { _dispatcher = EventsDispatcher.Load(); UiButton = new UITextMeshImage( GetComponentInChildren <TMP_Text>(), GetComponent <Image>()); }
protected void Awake() => UiButton = new UITextMeshImage( GetComponentInChildren <TMP_Text>(), GetComponent <Image>());