Skip to content

Instantly share code, notes, and snippets.

@arsh5620
arsh5620 / UnityCapsLockScript.cs
Last active October 21, 2020 02:51
Unity CapsLock Quick Hack
using UnityEngine;
public class UnityCapsLockScript : MonoBehaviour
{
bool _isCapsLock = false;
void OnGUI()
{
// https://answers.unity.com/questions/1464150/how-to-get-the-keyboardos-capslock-state.html
// Original thanks to cooldude5757 on unity answers