상속: uguimvvm.Primitives.Selector
예제 #1
0
        protected override void Awake()
        {
            _image = GetComponent<Image>();
            _tabs = GetComponentInParent<TabControl>();

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

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