Skip to content

Instantly share code, notes, and snippets.

@dunnston
dunnston / InteractableItemPicker.cs
Created April 4, 2024 11:31
Unity scripts for picking up items and adding to inventory
using UnityEngine;
using MoreMountains.InventoryEngine;
namespace MoreMountains.InventoryEngine
{
public class InteractableItemPicker : MonoBehaviour
{
public InventoryItem Item; // The item that will be picked and added to the inventory.
@dunnston
dunnston / 0_reuse_code.js
Created May 8, 2014 02:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console