Skip to content

Instantly share code, notes, and snippets.


EsProgram EsProgram

View GitHub Profile
LotteMakesStuff / StatsBarAttribute.cs
Last active March 24, 2023 16:37
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 April 15, 2016 13:51
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 January 17, 2022 15:35
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 April 4, 2018 05:01
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 February 18, 2014 10:58
import UnityEngine
import UnityEditor
import System
import System.IO
// C# の例
// プロジェクト ウィンドウの選択されたオブジェクトからアセットバンドルを作成
// コンパイルした後は "Menu" -> "Assets" へ移動して選択肢から一つを選択して
// アセットバンドルをビルド
class BuildAssetBundle:
trey /
Last active January 1, 2023 05:14
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 ""