TuxedoBerries.ScenePanel.Drawers.ScreenshotDrawer.DrawControls C# (CSharp) Method

DrawControls() public method

Draws the controls for a screenshot.
public DrawControls ( string dataPath, bool enableShot, string suggestedFolder, string suggestedName ) : string
dataPath string Data path.
enableShot bool If set to true enable shot.
suggestedFolder string
suggestedName string
return string
        public string DrawControls(string dataPath, bool enableShot, string suggestedFolder, string suggestedName)
        {
            _colorStack.Reset ();

            // Display
            EditorGUILayout.BeginVertical (_column1);
            {
                // Take Snapshot
                dataPath = DrawTakeScreenshotButton(dataPath, enableShot, suggestedFolder, suggestedName);

                // Refresh
                dataPath = DrawRefreshScreenshotButton (dataPath);

                // Open
                DrawOpenFolderButton(dataPath);

            }
            EditorGUILayout.EndVertical ();
            return dataPath;
        }

Same methods

ScreenshotDrawer::DrawControls ( string dataPath, bool enableShot ) : string