protected void OnOkPressed() { showToolTips = true; if (!string.IsNullOrEmpty(showToolTipName)) { WBIToolTipView toolTipView = new WBIToolTipView(); toolTipView.LoadConfig(toolTips[showToolTipName]); toolTipView.showCancelButton = false; toolTipView.okButtonText = WBIToolTipView.kGotItText; toolTipView.SetVisible(true); showToolTipName = string.Empty; } }
public override void OnAwake() { base.OnAwake(); GameEvents.onEditorPartEvent.Add(onEditorPartEvent); toolTipView = new WBIToolTipView(); }