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
$lightgray : #819090; | |
$gray : #708284; | |
$mediumgray : #536870; | |
$darkgray : #475B62; | |
$darkblue : #0A2933; | |
$darkerblue : #042029; | |
$paleryellow : #FCF4DC; | |
$paleyellow : #EAE3CB; | |
$yellow : #A57706; | |
$orange : #BD3613; |
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 UnityEditor; | |
using System.Collections; | |
using UnityEngine.UI; | |
using UnityEngine.EventSystems; | |
public class UIUtility : MonoBehaviour | |
{ | |
//Adds GameObject -> UI -> Dropdown menu item that instantiates | |
//a new button and attaches a dropdown component. |
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 System; | |
using System.Collections.Generic; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; | |
public class AssetDistribution | |
{ | |
[MenuItem("AssetDatabase/GetAssetDistributions")] | |
public static void GetAssetDistribution() |