Skip to content

Instantly share code, notes, and snippets.

@Kuuo
Kuuo / InputDeviceControls.md
Last active December 13, 2024 12:08
Unity InputSystem InputDevice Controls

Keyboard

name displayName shortDisplayName path
anyKey Any Key /Keyboard/anyKey
escape Esc /Keyboard/escape
space Space /Keyboard/space
enter Enter /Keyboard/enter
tab Tab /Keyboard/tab
backquote ` /Keyboard/backquote
@Kuuo
Kuuo / ReadOnlyAttribute.cs
Created November 24, 2024 10:57 — forked from LotteMakesStuff/ReadOnlyAttribute.cs
ReadOnly property drawer for Unity~ Add a [ReadOnly] attribute to a property to make it show up as read only in the inspector
// NOTE DONT put in an editor folder
using UnityEngine;
public class ReadOnlyAttribute : PropertyAttribute { }
@Kuuo
Kuuo / UnityEditorIcons.txt
Created December 4, 2021 15:14 — forked from MattRix/UnityEditorIcons.txt
A list of all the built-in EdtiorGUI icons in Unity. Use EditorGUIUtility.IconContent([icon name]) to access them.
ScriptableObject Icon
_Popup
_Help
Clipboard
SocialNetworks.UDNOpen
SocialNetworks.Tweet
SocialNetworks.FacebookShare
SocialNetworks.LinkedInShare
SocialNetworks.UDNLogo
animationvisibilitytoggleoff
@Kuuo
Kuuo / EmbeddedInspectorAttribute.cs
Created August 22, 2019 04:19 — forked from edwardrowe/EmbeddedInspectorAttribute.cs
EmbeddedInspectorAttribute
/*The MIT License (MIT)
Copyright (c) 2016 Edward Rowe (@edwardlrowe)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all