Skip to content

Instantly share code, notes, and snippets.


EsProgram EsProgram

View GitHub Profile
LotteMakesStuff / StatsBarAttribute.cs
Last active Sep 23, 2019
StatsBar property drawer for Unity~ Add a [StatsBar] attribute to a property to make it draw a lil bar, really useful for visualizing character stats like Health or Mana.
View StatsBarAttribute.cs
// NOTE DONT put in an editor folder
using UnityEngine;
public class StatsBarAttribute : PropertyAttribute
public string valueMax;
public StatsBarColor color;
public StatsBarAttribute(string valueMax = null, StatsBarColor color = StatsBarColor.Red)
tsubaki / TextEffect.cs
Created Apr 15, 2016
View TextEffect.cs
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using System.Collections.Generic;
public class TextEffect : UIBehaviour, IMeshModifier {
public new void OnValidate()
Skybladev2 / ExecutionOrderManager.cs
Last active Jan 17, 2022
Explicit script exection order for Unity scripts
View ExecutionOrderManager.cs
using System;
using UnityEditor;
public class ExecutionOrderManager : Editor
static ExecutionOrderManager()
foreach (MonoScript monoScript in MonoImporter.GetAllRuntimeMonoScripts())
JohnnyBeluga / Unity Basic Tessellation Shader
Last active Apr 4, 2018
Basic triangle Unity ShaderLab Shader; Tessellates a triangle mesh and colors it red.
View Unity Basic Tessellation Shader
Shader "Tesselation/Triangle_Tesselation" {
Properties {
_TessEdge ("Edge Tess", Range(1,64)) = 2
SubShader {
Pass {
#pragma target 5.0
fum1h1ro /
Created Feb 18, 2014
import UnityEngine
import UnityEditor
import System
import System.IO
// C# の例
// プロジェクト ウィンドウの選択されたオブジェクトからアセットバンドルを作成
// コンパイルした後は "Menu" -> "Assets" へ移動して選択肢から一つを選択して
// アセットバンドルをビルド
class BuildAssetBundle:
trey /
Last active Jan 2, 2022
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global "Your Name"
git config --global ""