Skip to content

Instantly share code, notes, and snippets.

@andreiagmu
andreiagmu / FastPlatformSwitcherSymlink_Windows.cs
Last active June 19, 2024 07:26
Improved FastPlatformSwitcher for Unity 2018 (and maybe other Unity versions), for Asset Database v1 - Symlink version (for Windows systems)
@adamski11
adamski11 / FillBarGradientScript.cs
Last active July 3, 2020 11:12
Add this script to any game object with an image component you're using as a fill bar colour the bar based on the current fill amount and a gradient set by you. Works in the editor for testing as well.
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Image))]
[ExecuteInEditMode]
public class FillBarGradientScript : MonoBehaviour
{
public Gradient gradient;
Image fillImage;
@ascendbruce
ascendbruce / README.md
Last active September 8, 2024 02:58
Use macOS-style shortcuts in Windows

Use macOS-style shortcuts in Windows / keyboard mappings using a Mac keyboard on Windows

ℹ️ There is a newer alternative project that does similar things and more, check it out at https://github.com/stevenilsen123/mac-keyboard-behavior-in-windows

Make Windows PC's shortcut act like macOS (Mac OS X) (using AutoHotkey (ahk) script)

With this AutoHotKey script, you can use most macOS style shortcuts (eg, cmd+c, cmd+v, ...) on Windows with a standard PC keyboard.

How does it work