Skip to content

Instantly share code, notes, and snippets.

Margaret Blackburn mollrow

Block or report user

Report or block mollrow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
LotteMakesStuff / InspectorButtonsTest.cs
Last active Sep 23, 2019
Code running pack! two property drawing scripts that make it super easy to trigger code via buttons in the inspector, and get feedback! [TestButton] draws you little buttons that call a method on your MonoBehaviour, and [ProgressBar] give you a great way to show feedback from long running methods. These are *super* helpful for things like proced…
View InspectorButtonsTest.cs
using UnityEngine;
using System.Collections;
public class InspectorButtonsTest : MonoBehaviour
[TestButton("Generate world", "DoProcGen", isActiveInEditor = false)]
[TestButton("Clear world", "ClearWorld", 2, isActiveInEditor = false)]
[ProgressBar(hideWhenZero = true, label = "procGenFeedback")]
public float procgenProgress = -1;




You can’t perform that action at this time.