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.Diagnostics; | |
using UnityEngine; | |
using UnityEngine.UIElements; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
public class UnityRegeditCacheHelper : EditorWindow | |
{ | |
[MenuItem("Tools/Unity Regedit Cache Helper")] | |
public static void ShowMyEditor() |
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
@echo off | |
echo [94m Launching discord... [0m | |
cd %appdata% | |
cd ../Local/Discord/app-* | |
start Discord.exe --multi-instance |
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.Collections.Generic; | |
using System.Linq; | |
using Unity.VisualScripting; | |
using UnityEngine; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
/// <summary> | |
/// Add this component to send input event on physical object rendered on a render texture that is showed on the GUI as a rawImage. | |
/// This component should be put on the main camera object. |