This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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 カラー設定の定義 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |