Ejemplo n.º 1
0
        //----------------------------------------------------------------------------------------------------------

        #region Unity callbacks

        protected void Awake()
        {
            _dispatcher = EventsDispatcher.Load();
            UiButton    = new UITextMeshImage(
                GetComponentInChildren <TMP_Text>(),
                GetComponent <Image>());
        }
Ejemplo n.º 2
0
 protected void Awake() =>
 UiButton = new UITextMeshImage(
     GetComponentInChildren <TMP_Text>(),
     GetComponent <Image>());