Beispiel #1
0
        public void Initialize(GMTabbar _tabbar)
        {
            group    = _tabbar;
            myTabBar = _tabbar;
            this.onValueChanged.AddListener(ToggleTab);
            targetGraphic = GetComponent <Image>();

            //Toggle tab correctly
            ToggleTab(isOn);
        }