Skip to content

Instantly share code, notes, and snippets.

View longmang's full-sized avatar

Paul Gullett longmang

View GitHub Profile
@longmang
longmang / AdaptiveViewport.cs
Created October 11, 2018 11:03
This class in conjunction with the Adaptive Quality class implements a basic adaptive quality mechanism in Unity.
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// This class in conjunction with the Adaptive Quality class implements a basic adaptive quality mechanism in Unity.
/// Must be attached to the active camera in your scene.
/// </summary>
///
public class AdaptiveViewport : MonoBehaviour {
@longmang
longmang / AdaptiveQuality.cs
Created October 11, 2018 11:01
Adaptive Quality Script For Unity and HTC Vive
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// This class in conjunction with the Adaptive Viewport class implements a basic adaptive quality mechanism in Unity.
/// </summary>
public class AdaptiveQuality : MonoBehaviour {
[SerializeField]