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 "Custom/ACNH_SewingCloth" | |
| { | |
| Properties | |
| { | |
| [NoScaleOffset] _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| [NoScaleOffset] _BumpMap ("Normal Map", 2D) = "bump" {} | |
| [NoScaleOffset] _EdgeAlpha ("Alpha", 2D) = "white" {} | |
| _Cutoff ("Alpha Test Cutoff", Range(0,1)) = 0.5 | |
| _Offset ("Offset (XY)", Vector) = (0,0,0,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
| using UnityEngine; | |
| using Cinemachine; | |
| using Waypoint = Cinemachine.CinemachineSmoothPath.Waypoint; | |
| public class CinemachinePathShape : MonoBehaviour | |
| { | |
| public CinemachineSmoothPath path; | |
| [Space] |
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 "Custom/CurveDissolve" | |
| { | |
| Properties | |
| { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _Noise("Noise", 2D) = "white" {} | |
| _CurveTexture("Curve texture", 2D) = "white" {} | |
| _Cutoff("Cutoff", Range(0,1)) = 0 | |
| _Glossiness ("Smoothness", Range(0,1)) = 0.5 |
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 UnityEditor; | |
| using System.IO; | |
| public static class CustomInspectorCreator | |
| { | |
| [MenuItem("Assets/Create/Custom Inspector", priority = 81)] | |
| static void CreateInsptorEditorClass() | |
| { | |
| foreach (var script in Selection.objects) |