Skip to content

Instantly share code, notes, and snippets.

View SyathirRhaido's full-sized avatar

Ridho SyathirRhaido

View GitHub Profile
using UnityEngine;
using System.Collections;
public class CameraScreenResolution : MonoBehaviour {
public bool maintainWidth=true;
[Range(-1,1)]
public int adaptPosition;
float defaultWidth;