This file contains 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
//use this function and see the results | |
//i made this for learning purpose | |
void PrintSystemInfo() | |
{ | |
Debug.Log("Device Model: " + SystemInfo.deviceModel); | |
Debug.Log("Device Name: " + SystemInfo.deviceName); | |
Debug.Log("Device Type: " + SystemInfo.deviceType); | |
Debug.Log("Graphics Device Name: " + SystemInfo.graphicsDeviceName); | |
Debug.Log("Graphics Device Vendor: " + SystemInfo.graphicsDeviceVendor); | |
Debug.Log("Graphics Device ID: " + SystemInfo.graphicsDeviceID); |
This file contains 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
;if caps lock open and if you press numpad3 and 2 at the same time, you click continually | |
#if GetKeyState("Capslock", "T") | |
Numpad3:: | |
while GetKeyState("Numpad3", "P") | |
{ | |
while GetKeyState("Numpad2", "P") | |
{ | |
Send, {Click} |
This file contains 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.Reflection; | |
/// <summary> | |
/// This class is for calling a function from a class with string inputs. Example usage: | |
///<code> | |
///Console.WriteLine("You can call these functions:"); | |
///string[] functions = CallFunctions.GetMethodsAsStrings(typeof(TestClass)); | |
///for (int i = 0; i < functions.Length; i++) Console.WriteLine(functions[i]); | |
///Console.WriteLine("Write command:"); | |
///string input = Console.ReadLine(); |
This file contains 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
//delete this later. this is for test purpose | |
Console.WriteLine("deneme"); |