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
loridaz@Sleipnir:~/dev/scikits.image$ sudo python setup.py install | |
[sudo] password for loridaz: | |
cython -o /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_backend.c.new /home/loridaz/dev/scikits.image/scikits/image/opencv/opencv_backend.pyx | |
Cython (http://cython.org) is a compiler for code written in the | |
Cython language. Cython is based on Pyrex by Greg Ewing. | |
Usage: cython [options] sourcefile.pyx ... | |
Options: |
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 System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
public class ShaderReplacer : MonoBehaviour { | |
private static readonly Dictionary<string, Shader> replaceTo = new Dictionary<string, Shader>() | |
{ | |
{"Legacy Shaders/Diffuse", Shader.Find("Mobile/Diffuse") }, |