Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using UnityEditor;
public class EditorSceneShortcuts : MonoBehaviour
{
// Edit this line to define your shortcut in the editor
// In this example, #1 is the shortcut
// % = ctrl (win) or cmd (osx)
// # = shift
// & = alt
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.IO;
public class ObjToLines {
public static TextReader streamFromTextAsset(TextAsset text){
return new StringReader(text.text);
}