Editor/MyEditorMenu.cs
using Editor;
public static class MyEditorMenu
{
[Menu( "Editor", "Super Shot/Quick 1080p" )]
public static void Quick1080p()
{
ConsoleSystem.Run( "screenshot_highres 1920 1080" );
}
[Menu( "Editor", "Super Shot/Quick 2K" )]
public static void Quick2K()
{
ConsoleSystem.Run( "screenshot_highres 2560 1440" );
}
[Menu( "Editor", "Super Shot/Quick 4K" )]
public static void Quick4K()
{
ConsoleSystem.Run( "screenshot_highres 3840 2160" );
}
[Menu( "Editor", "Super Shot/Quick 8K" )]
public static void Quick8K()
{
ConsoleSystem.Run( "screenshot_highres 7680 4320" );
}
[Menu( "Editor", "Super Shot/Quick 720p" )]
public static void Quick720p()
{
ConsoleSystem.Run( "screenshot_highres 1280 720" );
}
[Menu( "Editor", "Super Shot/Quick Instagram (Square)" )]
public static void QuickInstagram()
{
ConsoleSystem.Run( "screenshot_highres 1080 1080" );
}
[Menu( "Editor", "Super Shot/Quick YouTube" )]
public static void QuickYouTube()
{
ConsoleSystem.Run( "screenshot_highres 1280 720" );
}
[Menu( "Editor", "Super Shot/Quick Cinematic (21:9)" )]
public static void QuickCinematic()
{
ConsoleSystem.Run( "screenshot_highres 3840 1646" );
}
[Menu( "Editor", "Super Shot/Quick Portrait" )]
public static void QuickPortrait()
{
ConsoleSystem.Run( "screenshot_highres 1080 1920" );
}
[Menu( "Editor", "Super Shot/Quick Square 4K" )]
public static void QuickSquare4K()
{
ConsoleSystem.Run( "screenshot_highres 3840 3840" );
}
[Menu( "Editor", "Super Shot/Quick 5K" )]
public static void Quick5K()
{
ConsoleSystem.Run( "screenshot_highres 5120 2880" );
}
[Menu( "Editor", "Super Shot/Quick Ultrawide 1440p" )]
public static void QuickUltrawide1440p()
{
ConsoleSystem.Run( "screenshot_highres 3440 1440" );
}
[Menu( "Editor", "Super Shot/Quick 1080p Ultrawide" )]
public static void Quick1080pUltrawide()
{
ConsoleSystem.Run( "screenshot_highres 2560 1080" );
}
[Menu( "Editor", "Super Shot/Quick 4K Portrait" )]
public static void Quick4KPortrait()
{
ConsoleSystem.Run( "screenshot_highres 2160 3840" );
}
[Menu( "Editor", "Super Shot/Quick 480p" )]
public static void Quick480p()
{
ConsoleSystem.Run( "screenshot_highres 854 480" );
}
[Menu( "Editor", "Super Shot/About Super Shot" )]
public static void AboutSuperShot()
{
EditorUtility.DisplayDialog( "Super Shot",
"High-quality screenshots and video helpers for s&Box.\n\n" +
"Add the Super Shot component to any object in your scene. Use the property panel for resolution presets, hide UI/tags, custom camera, FOV, and quick-capture buttons.\n\n" +
"Video cameras (orbit and dolly) can be spawned from the component and used for cinematics or as the capture camera." );
}
[Menu( "Editor", "Super Shot/Documentation" )]
public static void ShowDocumentation()
{
EditorUtility.DisplayDialog( "Super Shot Documentation",
"SETUP\n" +
"Add the Super Shot component to any GameObject in your scene.\n\n" +
"RESOLUTION\n" +
"Pick a preset (1080p, 2K, 4K) or Custom and set width/height. Quick-capture buttons use their own resolution and then revert.\n\n" +
"CAPTURE SETTINGS\n" +
" Hide UI – turn off UI during capture\n" +
" Hide tags – comma-separated tags to hide\n" +
" Custom camera – use a specific camera (e.g. orbit/dolly)\n" +
" Override FOV – set FOV for the shot\n" +
" Scene prep – delay, hide by component type, show-only tag\n\n" +
"CAPTURE BUTTONS\n" +
" Capture Screenshot – uses current preset\n" +
" Quick 1080p / 2K / 4K / etc. – one shot at that size\n" +
" Capture with UI – same but leaves UI on\n" +
" Capture Clean – no UI, hide player/debug/ui tags\n" +
" Capture Batch – multiple shots when batch mode is on\n\n" +
"VIDEO CAMERAS\n" +
"Set Orbit Target or Dolly Target (or leave blank to use the Super Shot object). Click Spawn Orbit Camera or Spawn Dolly Camera to add a camera to the scene. Tweak the new camera’s component (orbit speed, dolly speed, FOV). Use it as Custom Camera for screenshots or for recording.\n\n" +
"OUTPUT\n" +
"Screenshots go to s&Box’s default screenshot folder." );
}
}