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; | |
/// <summary> | |
/// GameビューにてSceneビューのようなカメラの動きをマウス操作によって実現する | |
/// </summary> | |
[RequireComponent(typeof(Camera))] | |
public class SceneViewCamera : MonoBehaviour | |
{ | |
[SerializeField, Range(0.1f, 10f)] | |
private float wheelSpeed = 1f; |
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.Collections; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; | |
public class UVChecker : EditorWindow | |
{ | |
private GameObject targetGameObject; | |
private MeshFilter targetMeshFilter; | |
private Texture2D tex; |
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.Collections; | |
using UnityEngine; | |
/// <summary> | |
/// パーティクルの自動破棄 | |
/// </summary> | |
public class ParticleAutoDestroy : MonoBehaviour | |
{ | |
private void Start() | |
{ |
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 "MBL/NextPage" | |
{ | |
Properties | |
{ | |
_MainTex("Texture", 2D) = "white" {} | |
_PageTex("PageTexture", 2D) = "white" {} | |
_AlphaMask("AlphaMask", Range(0, 1)) = 0.1 | |
_Flip("Flip",Range(-1, 1)) = 0 | |
} | |
SubShader |
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
//=================================================================================================/ | |
/// <summary> | |
/// Easing関数 | |
/// https://easings.net/ja | |
/// https://gist.github.com/gre/1650294 | |
/// </summary> | |
//=================================================================================================/ | |
public static class Easing | |
{ | |
//=================================================================================================/ |
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 "NazawaOssuOssu/Nega" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_Lerp("Lerp", RANGE(0, 1)) = 1 | |
} | |
SubShader | |
{ | |
Tags{"Queue"="Transparent"} |
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 "Es/WaveformProvider/Sample/WaterSurface" | |
{ | |
Properties | |
{ | |
[HideInInspector] | |
_WaveInputTex("Wave Input Texture", 2D) = "black" {} | |
_RefTex("Ref",2D) = "black" {} | |
_BumpMap("Normalmap", 2D) = "bump" {} | |
_BumpAmt("BumpAmt", Range(0,100)) = 0 |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Linq; | |
using System.IO; | |
using Es.InkPainter; | |
public class LocalNormalMapCreator : EditorWindow | |
{ |
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.Linq; | |
using UnityEngine; | |
using Es.InkPainter; | |
public class ReplaceRenderTextureSample : MonoBehaviour | |
{ | |
[SerializeField] | |
InkCanvas canvas; | |
[SerializeField] |
NewerOlder