Skip to content

Instantly share code, notes, and snippets.

@echo off
rem 作成者:en129(https://x.com/en129)
rem 遅延環境変数を有効にする
setlocal enabledelayedexpansion
rem エスケープ文字を取得して変数ESCに格納(色付けの準備)
for /F %%a in ('echo prompt $E ^| cmd') do set "ESC=%%a"
rem カラー設定の定義
@DashW
DashW / ScreenRecorder.cs
Last active November 12, 2025 14:51
ScreenRecorder - High Performance Unity Video Capture Script
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
class BitmapEncoder
{
public static void WriteBitmap(Stream stream, int width, int height, byte[] imageData)