Skip to content

Instantly share code, notes, and snippets.

View ThomasMoonKang's full-sized avatar

Thomas Kang ThomasMoonKang

View GitHub Profile
@Unity-Javier
Unity-Javier / AssetDistribution.cs
Last active December 15, 2021 23:43
Output the Distribution of Assets in a CSV friendly format
using System;
using System.Collections.Generic;
using System.Text;
using UnityEditor;
using UnityEngine;
public class AssetDistribution
{
[MenuItem("AssetDatabase/GetAssetDistributions")]
public static void GetAssetDistribution()
@lena3rika
lena3rika / UIUtility.cs
Last active January 24, 2018 13:27
UIUtility class used in my Dropdown tutorials
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.
@planetoftheweb
planetoftheweb / solarized.scss
Created September 7, 2013 21:25
The colors for the [solarized palette](http://ethanschoonover.com/solarized) in Hex format ready for Sass.
$lightgray : #819090;
$gray : #708284;
$mediumgray : #536870;
$darkgray : #475B62;
$darkblue : #0A2933;
$darkerblue : #042029;
$paleryellow : #FCF4DC;
$paleyellow : #EAE3CB;
$yellow : #A57706;
$orange : #BD3613;