Skip to content

Instantly share code, notes, and snippets.

View addie-lombardo's full-sized avatar

Adrienne Lombardo addie-lombardo

View GitHub Profile
@addie-lombardo
addie-lombardo / DiceLuaCommands.cs
Created August 4, 2022 04:43
A robust dice roll Lua command for Dialogue System for Unity
// Requires Dialogue System for Unity: https://www.pixelcrushers.com/dialogue-system/
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Security.Cryptography;
using PixelCrushers.DialogueSystem;
using UnityEngine;
/// <summary>
@addie-lombardo
addie-lombardo / CustomInspectorCreator.cs
Last active April 9, 2022 07:34 — forked from LotteMakesStuff/CustomInspectorCreator.cs
Editor extension that adds a tool to automagically generate boilerplate custom inspector code~ YES! Just drop it into a folder called 'Editor' and it adds a 'custom inspector' option into the Project window!
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
/// <summary>
/// Generates a boilerplate custom inspector script for Monobehaviours and populates it with its serialized fields.