Skip to content

Instantly share code, notes, and snippets.

View dj-kusuha's full-sized avatar
🍺

くすは dj-kusuha

🍺
View GitHub Profile
@dj-kusuha
dj-kusuha / CaptureScreenshotFromEditor.cs
Last active February 27, 2024 13:06
Unityエディタ上からGameビューのスクリーンショットを撮るEditor拡張。
using UnityEditor;
using UnityEngine;
namespace djkusuha.Utility
{
/// <summary>
/// Unityエディタ上からGameビューのスクリーンショットを撮るEditor拡張
/// </summary>
public class CaptureScreenshotFromEditor : Editor
{