public void Initialize(GMTabbar _tabbar) { group = _tabbar; myTabBar = _tabbar; this.onValueChanged.AddListener(ToggleTab); targetGraphic = GetComponent <Image>(); //Toggle tab correctly ToggleTab(isOn); }
public void Initialize(GMTabbar _tabbar) { group = _tabbar; myTabBar = _tabbar; this.onValueChanged.AddListener(ToggleTab); targetGraphic = GetComponent <Image>(); //Toggle tab correctly ToggleTab(isOn); }