public void HighlightInstruction(GUIView view, Rect instructionRect, GUIStyle style) { if (this.m_ShowOverlay) { if (this.m_InstructionOverlayWindow == null) { this.m_InstructionOverlayWindow = ScriptableObject.CreateInstance <InstructionOverlayWindow>(); } this.m_InstructionOverlayWindow.Show(view, instructionRect, style); base.Focus(); } }
private void HighlightInstruction(GUIView view, Rect instructionRect, GUIStyle style) { if (this.m_ListViewState.row < 0 || !this.m_ShowOverlay) { return; } if ((UnityEngine.Object) this.m_InstructionOverlayWindow == (UnityEngine.Object)null) { this.m_InstructionOverlayWindow = ScriptableObject.CreateInstance <InstructionOverlayWindow>(); } this.m_InstructionOverlayWindow.Show(view, instructionRect, style); this.Focus(); }
private void HighlightInstruction(GUIView view, Rect instructionRect, GUIStyle style) { if (this.m_ListViewState.row < 0 || !this.m_ShowOverlay) return; if ((UnityEngine.Object) this.m_InstructionOverlayWindow == (UnityEngine.Object) null) this.m_InstructionOverlayWindow = ScriptableObject.CreateInstance<InstructionOverlayWindow>(); this.m_InstructionOverlayWindow.Show(view, instructionRect, style); this.Focus(); }