public void Hide() { overloads = null; currentOverload = 0; text = null; if (this == textEditor.tokenTooltip) { textEditor.mouseHoverTime = default(System.DateTime); textEditor.mouseHoverToken = null; textEditor.tokenTooltip = null; } else if (this == textEditor.argumentsHint) { textEditor.argumentsHint = null; textEditor.CloseArgumentsHint(); } try { Close(); DestroyImmediate(this); } catch //(System.Exception e) { //Debug.LogException(e); } }
public void Hide() { overloads = null; currentOverload = 0; text = null; if (this == textEditor.tokenTooltip) { textEditor.mouseHoverTime = default(System.DateTime); textEditor.mouseHoverToken = null; textEditor.tokenTooltip = null; } else if (this == textEditor.argumentsHint) { textEditor.argumentsHint = null; textEditor.CloseArgumentsHint(); } if (!this) { return; } //#if UNITY_2018_3_OR_NEWER // Close(); //#else EditorApplication.delayCall += Close; //#endif //DestroyImmediate(this); }
public void Hide() { overloads = null; currentOverload = 0; text = null; if (this == textEditor.tokenTooltip) { textEditor.mouseHoverTime = 0f; textEditor.mouseHoverToken = null; textEditor.tokenTooltip = null; } else if (this == textEditor.argumentsHint) { textEditor.argumentsHint = null; textEditor.CloseArgumentsHint(); } Close(); DestroyImmediate(this); }