Skip to content

Instantly share code, notes, and snippets.

@noshipu
noshipu / ScreenshotCapture.cs
Created April 29, 2017 02:48
OculusStore等で用意するスクリーンショットをUnityで撮るやつ
using System;
using System.IO;
using UnityEngine;
namespace ViRD.Tools
{
public class ScreenshotCapture : MonoBehaviour
{
private RenderTexture m_RenderTexture;
[SerializeField] private Camera m_Camera;