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
| """You help triaging user requests. Given a raw text input, output either DOCS or DEFAULT, according to those definitions: | |
| DOCS: if user is asking a seemingly technical question, programming questions or company-specific questions | |
| DEFAULT: if user is just chit-chatting or basic knowledge questions | |
| ==================== | |
| Input: hello there | |
| Output: DEFAULT |
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
| // This doesn't seem to work properly | |
| //#define USE_UNITY_PIN_FUNCTION | |
| using System; | |
| using System.Runtime.InteropServices; | |
| using Unity.Collections; | |
| using Unity.Collections.LowLevel.Unsafe; | |
| using UnityEngine; | |
| using UnityEngine.Assertions; | |
| // Trick for creating a temporary NativeArray which points to the contents of a managed array. |
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 "Mattatz/UVTransform" { | |
| Properties { | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| _TexScale ("Scale of Tex", Float) = 1.0 | |
| _TexRatio ("Ratio of Tex", Float) = 1.0 | |
| _Theta ("Rotation of Tex", Float) = 0.0 | |
| _PlaneScale ("Scale of Plane Mesh", Vector) = (1, 1, 0, 0) | |
| } |