This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class SmartButton : MonoBehaviour { | |
public enum Usage { | |
Default, | |
URL, | |
SceneLoader, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
NewerOlder