This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class GazeInput : MonoBehaviour | |
| { | |
| private Ray ray; | |
| private RaycastHit hitInfo; | |
| [SerializeField] | |
| [Tooltip("The root object of all menu items")] | |
| private GameObject menuRoot; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| using UnityEngine.Video; | |
| public class VideoSelection : MonoBehaviour | |
| { | |
| [SerializeField] | |
| private VideoClip videoClip; | |
| private VideoPlayer videoPlayer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEditor; | |
| public class InvertedSphere : EditorWindow | |
| { | |
| private string st = "1.0"; | |
| [MenuItem("GameObject/Create Other/Inverted Sphere...")] | |
| public static void ShowWindow() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "Flipping Normals" { | |
| Properties { | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| } | |
| SubShader { | |
| Tags { "RenderType" = "Opaque" } | |
| Cull Off |