using System; using UnityEngine; namespace Leap.Unity { public class StretchToScreen : MonoBehaviour { private void Awake() { base.GetComponent().pixelInset = new Rect(0f, 0f, (float)Screen.width, (float)Screen.height); } } }