コード例 #1
0
 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();
     }
 }
コード例 #2
0
 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();
 }
コード例 #3
0
 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();
 }