Skip to content

Instantly share code, notes, and snippets.

View zawazawagh's full-sized avatar

zawazawa zawazawagh

  • Tokyo
View GitHub Profile
@DashW
DashW / ScreenRecorder.cs
Last active July 9, 2024 09:40
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)