Skip to content

Instantly share code, notes, and snippets.

View longod's full-sized avatar

longod longod

View GitHub Profile
@longod
longod / AsyncScreenCapture.cs
Last active September 18, 2023 20:24
Asynchronous Capture Screen on Unity 2019.3
// (c) longod, MIT License
using System;
using System.Collections;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Experimental.Rendering;
using UnityEngine.Profiling;
using UnityEngine.Rendering;