Skip to content

Instantly share code, notes, and snippets.

View HierarchyWindowGroupHeader.cs
using System;
using System.IO;
using System.Runtime.CompilerServices;
using UnityEditor;
using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// Hierarchy Window Group Header
import struct
import SocketServer
from base64 import b64encode
from hashlib import sha1
from mimetools import Message
from StringIO import StringIO
# import threading
class WebSocketsHandler(SocketServer.StreamRequestHandler):
darktable / ProjectAssetPostprocessor.cs
Created Apr 20, 2012 — forked from hoesing/ProjectAssetPostprocessor.cs
Unity asset pre/postprocessor for applying asset defaults by path.
View ProjectAssetPostprocessor.cs
// Drop this script in the Editor directory in your project (creating the Editor directory if it's not there yet)
// Then re-import the assets in the directories covered by this script (right click and reimport)
// I would replace my path checking with the path checking from this gist:
// The texture settings for icons might want to use some of his settings combined with mine as well
using UnityEngine;