Skip to content

Instantly share code, notes, and snippets.

View danielmccluskey's full-sized avatar

Daniel McCluskey danielmccluskey

View GitHub Profile
@danielmccluskey
danielmccluskey / UnityScreenshotter.cs
Created April 2, 2020 15:22
Creates a screenshot on button press
using UnityEngine;
using System.Collections;
public class ScreenShotter : MonoBehaviour
{
public int resWidth = 1920;
public int resHeight = 1080;
private bool takeHiResShot = false;