Skip to content

Instantly share code, notes, and snippets.

View devgrater's full-sized avatar
👍
我们中国真的是太厉害了!

DeveloGrater devgrater

👍
我们中国真的是太厉害了!
View GitHub Profile
@Split82
Split82 / UnityShadersCheatSheet.shader
Created April 17, 2018 10:07
Unity Shaders Cheat Sheet
Shader "Name" {
Properties {
_Name ("display name", Range (min, max)) = number
_Name ("display name", Float) = number
_Name ("display name", Int) = number
_Name ("display name", Color) = (number,number,number,number)
_Name ("display name", Vector) = (number,number,number,number)
@zhiyao
zhiyao / CJMCU-MLX90614.ino
Last active February 27, 2018 18:00
CJMCU-MLX90614 using Arduino
/*
Software serial to gather information from CJMCU-MLX90614 using an Arduino
Receives from the hardware serial, sends to software serial.
Receives from software serial, sends to hardware serial.
The circuit:
* RX is digital pin 10 (connect to TX of other device)
* TX is digital pin 11 (connect to RX of other device)
@bitbutter
bitbutter / TransparentBackgroundScreenshotRecorder.cs
Last active May 19, 2024 21:59
Rendering screenshots from Unity3d with transparent backgrounds
using UnityEngine;
using System.Collections;
using System.IO;
/*
Usage:
1. Attach this script to your chosen camera's game object.
2. Set that camera's Clear Flags field to Solid Color.
3. Use the inspector to set frameRate and framesToCapture