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
| // Configurations | |
| // 2D: stereoShift = float4(0, 0, 0, 0), stereoExtend = float2(1, 1) | |
| // SBS (LR): stereoShift = float4(0, 0, 0.5, 0), stereoExtend = float2(0.5, 1) | |
| // SBS (RL): stereoShift = float4(0.5, 0, 0, 0), stereoExtend = float2(0.5, 1) | |
| // Over-Under (Left above): stereoShift = float4(0, 0.5, 0, 0), stereoExtend = float2(1, 0.5) | |
| // Over-Under (Right above): stereoShift = float4(0, 0, 0, 0.5), stereoExtend = float2(1, 0.5) | |
| // Size Mode: 0 = Stratch, 1 = Contain, 2 = Cover | |
| float4 getVideoTexture(sampler2D videoTex, float2 uv, float4 texelSize, bool avPro, int sizeMode, float aspectRatio, float4 stereoShift, float2 stereoExtend) { | |
| float srcAspectRatio = texelSize.y * texelSize.z * stereoExtend.x / stereoExtend.y; |
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
| $Host.UI.RawUI.WindowTitle = 'VRChat Log' | |
| $Host.UI.RawUI.BackgroundColor = 'Black' | |
| $Host.PrivateData.VerboseForegroundColor = 'White' | |
| Clear-Host | |
| Get-Content -Tail $Host.UI.RawUI.BufferSize.Height -Wait -Encoding UTF8 (Get-ChildItem -Path "$($Env:LocalAppData)Low\VRChat\VRChat" -Filter 'output_log_*.txt' | Sort-Object LastWriteTime -Descending | Select-Object -First 1 | ForEach-Object {$_.FullName}) | Where-Object {$_.Trim() -ne ''} | ForEach-Object { | |
| if ($_ -match '^\d{4}\.\d{2}\.\d{2}\s\d{2}:\d{2}:\d{2}\sError') { | |
| $Host.UI.RawUI.ForegroundColor = $Host.PrivateData.ErrorForegroundColor | |
| $Host.UI.RawUI.BackgroundColor = $Host.PrivateData.ErrorBackgroundColor | |
| } elseif ($_ -match '^\d{4}\.\d{2}\.\d{2}\s\d{2}:\d{2}:\d{2}\sException') { | |
| $Host.UI.RawUI.ForegroundColor = $Host.PrivateData.ErrorForegroundColor |
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
| // ==UserScript== | |
| // @name Cyrillic? | |
| // @namespace JLChnToZ | |
| // @grant none | |
| // @version 1.0 | |
| // @author - | |
| // @description Transliterates all Latin characters to Cyrillic. | |
| // ==/UserScript== | |
| (() => { | |
| const transliterate = ((latin, cyrillic) => { |
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; | |
| #if UNITY_EDITOR | |
| using System; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEditor.Build; |
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 System.Linq; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using UnityObject = UnityEngine.Object; | |
| public class SelectionExtension: EditorWindow { | |
| [MenuItem("Window/Selection Ex")] |
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 System; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using UnityEngine; | |
| using VRC.Udon; | |
| using VRC.Udon.Common; | |
| using VRC.Udon.Common.Interfaces; | |
| using VRC.Udon.Graph; |
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 System; | |
| using UdonSharp; | |
| using UnityEngine; | |
| using VRC.SDKBase; | |
| using VRC.Udon; | |
| namespace JLChnToZ.VRC { | |
| [UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)] | |
| public class CheatDetector : UdonSharpBehaviour { | |
| [Tooltip("Detects open menu stucking cheat.")] |
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 System; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using VRC.Udon; | |
| using VRC.Udon.Common.Interfaces; | |
| namespace UInspectorPlus.Udon { |
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; | |
| using UnityEditor.Experimental.SceneManagement; | |
| using System.Collections.Generic; | |
| using VRC.SDKBase; | |
| using VRC.Udon; | |
| using UnityObject = UnityEngine.Object; | |
| public class FixSceneReference : EditorWindow { |
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 System; | |
| using UnityEngine; | |
| using VRC.SDKBase; | |
| using VRC.Udon; | |
| using UdonSharp; | |
| namespace JLChnToZ.VRC.Maze { | |
| [RequireComponent(typeof(MeshFilter)), UdonBehaviourSyncMode(BehaviourSyncMode.Manual)] | |
| public class MazeGen : UdonSharpBehaviour { | |
| // Constants |