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

DrawSnapshot() public method

Draws the snapshot section of the entity.
public DrawSnapshot ( ISceneEntity entity ) : void
entity ISceneEntity Entity.
return void
        public void DrawSnapshot(ISceneEntity entity)
        {
            EditorGUILayout.Space ();
            DrawConfiguration ();
            EditorGUILayout.BeginHorizontal ();
            {
                entity.ScreenshotPath = DrawControls (entity.ScreenshotPath, entity.IsActive || SceneMainPanelUtility.IsPlaying, "Screenshots", string.Format("{0}.png", entity.Name));
                DrawPreview (entity.ScreenshotPath);
            }
            EditorGUILayout.EndHorizontal ();
        }