This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/pillar_shader" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
[Space] | |
_EmissionTex ("Emission", 2D) = "white" {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
public class TextureCombiner : EditorWindow | |
{ | |
[MenuItem("Tools/Texture Combiner...")] | |
static void Open() | |
{ | |
var w = GetWindow<TextureCombiner>(true, "Texture Combiner"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
public class ConsoleHijacker | |
{ | |
static readonly Type editorWindowDelegate = typeof(EditorWindow).Assembly.GetType("UnityEditor.HostView+EditorWindowDelegate"); | |
static readonly Font monospaceFont = Font.CreateDynamicFontFromOSFont("Source Code Pro", 12); | |
static object internalOnGuiDelegate; |