/// <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(); } }
/// <summary> /// OnGUI /// </summary> protected virtual void OnGUI() { GUI.depth = GUIDepth; _Frame.Position = new Rect(0, 0, Screen.width, Screen.height); _Frame.OnGUI(); }