Skip to content

Instantly share code, notes, and snippets.

pry-byebug Cheatsheet

Instalation

Make sure you have the gem installed:

$ gem install pry-byebug

Usage

  1. Require the gem at the top of your file
@Vonflaken
Vonflaken / VirtualJoystick.cs
Last active June 1, 2021 02:36
Virtual joystick component for Unity mobile projects.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
#if UNITY_EDITOR && !UNITY_CLOUD_BUILD
using UnityEditor;
#endif