Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Kryeker
Kryeker / CompileTime.cs
Created September 16, 2022 23:39 — forked from chuckbergeron/CompileTime.cs
Unity Measure Compile Time
# // Originally found here: https://answers.unity.com/questions/1131497/how-to-measure-the-amount-of-time-it-takes-for-uni.html
using UnityEngine;
using UnityEditor;
[InitializeOnLoad]
class CompileTime : EditorWindow
{
static bool isTrackingTime;
static double startTime;
@Kryeker
Kryeker / Readme.md
Created October 29, 2018 00:40 — forked from peteristhegreat/Readme.md
XInput XBox Controller AHK with CrayMachine, Baby Toy
  1. Download and install AHK 1.1 or greater
  2. Get Xinput1_3.dll installed if you haven't used an xbox controller with the PC before https://answers.microsoft.com/en-us/windows/forum/windows_8-performance/how-to-fix-xinput13dll-missing/b73c5fb8-12b6-493f-bc90-e8cc76fb842b
  3. Put both of the above scripts in a folder on your computer
  4. Run xbox_rand_alpha_vibrate.ahk with Autohotkey.
  5. Plug in a wired xbox 360 controller.
  6. Open http://www.zefrank.com/snm/ in a window.
  7. Click in the center of the orange window and hand the controller to a toddler.
@Kryeker
Kryeker / mouse.ahk
Last active August 22, 2018 21:16
Управление громкостью с помощью мыши
#InstallMouseHook
XButton1::
While GetKeyState("XButton1","P") ;уменьшаем звук пока нажата кнопка мыши
{
Send {Volume_Down}
Sleep, 100
}
Return
XButton2::
While GetKeyState("XButton2","P") ;увеличиваем звук пока нажата кнопка мыши
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Win32;
using Newtonsoft.Json;
using RejectedGames;
using UnityEditor;
using UnityEngine;