示例#1
0
 /// <summary>
 /// OnGUI
 /// </summary>
 protected virtual void OnGUI()
 {
     if (_MovieTW.IsEnabled || _EndTW.IsEnabled)
     {
         GUI.depth       = GUIDepth;
         _Frame.Position = new Rect(0, 0, Screen.width, Screen.height);
         _Frame.OnGUI();
     }
 }
示例#2
0
 /// <summary>
 /// OnGUI
 /// </summary>
 protected virtual void OnGUI()
 {
     GUI.depth       = GUIDepth;
     _Frame.Position = new Rect(0, 0, Screen.width, Screen.height);
     _Frame.OnGUI();
 }