Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
public class SmartButton : MonoBehaviour {
public enum Usage {
Default,
URL,
SceneLoader,
@nicolasmbatista
nicolasmbatista / gist:5119b3ef0fcbfe1a9cee
Created May 9, 2014 01:43
SmartButtonEditor.cs for Unity3D
using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor (typeof(SmartButton))]
public class SmartButtonEditor : Editor {
/// <summary>
/// The smart button itself. Here we will have stored all of his variables
/// </summary>