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