void OnClick() { NGUITools.SetActive(PanelGameObject, true); infoTab.ShowTab("same", CharIndex); }
void OnClick() { InfoTab tabs = PanelObject.GetComponent <InfoTab>(); tabs.ShowTab(TargetTab, -1); }