This file contains hidden or 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; | |
public class EyeJitter : MonoBehaviour { | |
float timer = 0.0f; | |
Quaternion rot; | |
public float changeTime = 0.4f; // 変更する時間最小値 |
This file contains hidden or 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 UnityEditor; | |
using UnityEngine; | |
namespace djkusuha.Utility | |
{ | |
/// <summary> | |
/// Unityエディタ上からGameビューのスクリーンショットを撮るEditor拡張 | |
/// </summary> | |
public class CaptureScreenshotFromEditor : Editor | |
{ |
This file contains hidden or 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 "Unlit/Flip Rotation" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
[KeywordEnum(ANGLE0, ANGLE90, ANGLE180, ANGLE270)] _ROTATEFLAG("Rotation", Float) = 0 | |
[Toggle] _FLIP_X("Flip X", Float) = 0 | |
[Toggle] _FLIP_Y("Flip Y", Float) = 0 |
This file contains hidden or 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
// | |
// Unity Restart Editor On Stop | |
// @sh_akira | |
// Put this file to Assets/Editor/ | |
// | |
using UnityEngine; | |
using UnityEditor; | |
[InitializeOnLoad] |