Skip to content

Instantly share code, notes, and snippets.

@mstevenson
mstevenson / FindReferences.cs
Last active September 24, 2021 04:31
Find Unity objects that reference a selected asset
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class FindReferences : EditorWindow, ISerializationCallbackReceiver
{
List<string> displayedRefs = new List<string>();
@odashi
odashi / roland-integra-7.txt
Created March 9, 2014 19:36
Cubase用のINTEGRA-7パッチ(途中)
[cubase parse file]
[parser version 0001]
[creators first name] https://twitter.com/odashi
[creators last name] [email protected]
[device manufacturer] ROLAND
[device name] INTEGRA-7
[script name] Roland INTEGRA-7
[script version] version 0.03
@bcatcho
bcatcho / ScriptableObj2Asset Readme.md
Created January 26, 2014 20:18
This utility script will give you an option in the Assets/Create menu that will allow one to instantiate a selected scriptable object script and save it as an asset. It also works by right clicking on the file in the project window and selecting

What it does

This script provides a context menu item in the Project window (as well as an extra option in the Assets>Create menu) that will instantiate the selected Scriptable object and save it as an asset to a folder of your choosing.

How to install

Throw this script in any folder called Editor in your assets folder.

How to use

@darktable
darktable / ProjectAssetPostprocessor.cs
Created April 20, 2012 03:37 — forked from hoesing/ProjectAssetPostprocessor.cs
Unity asset pre/postprocessor for applying asset defaults by path.
// 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:
// https://gist.github.com/1842177
//
// The texture settings for icons might want to use some of his settings combined with mine as well
using UnityEngine;