Skip to content

Instantly share code, notes, and snippets.

View nmnsud's full-sized avatar

Naman nmnsud

View GitHub Profile
@nmnsud
nmnsud / ScreenRecorder.cs
Created July 9, 2018 05:46 — forked from DashW/ScreenRecorder.cs
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)