Inheritance: uguimvvm.Primitives.Selector
Esempio n. 1
0
        protected override void Awake()
        {
            _image = GetComponent<Image>();
            _tabs = GetComponentInParent<TabControl>();

            if (_active == null)
                _active = spriteState.highlightedSprite;

            onClick.AddListener(OnClick);
        }
Esempio n. 2
0
 protected override void OnTransformParentChanged()
 {
     base.OnTransformParentChanged();
     _tabs = GetComponentInParent<TabControl>();
 }