Error
The authenticity of host 'github.com (140.82.113.4)' can't be established.
Fix
ssh-keyscan github.com >> ~/.ssh/known_hosts| Shader "FX/PixelDot" | |
| { | |
| Properties | |
| { | |
| [NoScaleOffset] _MainTex ("Texture", 2D) = "white" {} | |
| _Color ("Color", Color) = (1, 1, 1, 1) | |
| _Size ("Pixel Size", Range(1, 64)) = 1 | |
| } | |
| SubShader | |
| { |
| using System; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Rendering; | |
| using UnityEngine.Rendering.Universal; | |
| public class GrabScreenFeature : ScriptableRendererFeature | |
| { | |
| [System.Serializable] | |
| public class Settings |
| using System.Text; | |
| using UnityEditor; | |
| using UnityEngine; | |
| namespace Cleverous | |
| { | |
| public static class DefineSymbolUtil | |
| { | |
| public const string Symbol = "YOUR_DEFINE_SYMBOL"; |
| #ifndef TRICUBIC_INCLUDED | |
| #define TRICUBIC_INCLUDED | |
| float4 Cubic(float v) | |
| { | |
| float4 n = float4(1.0, 2.0, 3.0, 4.0) - v; | |
| float4 s = n * n * n; | |
| float x = s.x; | |
| float y = s.y - 4.0 * s.x; | |
| float z = s.z - 4.0 * s.y + 6.0 * s.x; |
Error
The authenticity of host 'github.com (140.82.113.4)' can't be established.
Fix
ssh-keyscan github.com >> ~/.ssh/known_hosts| using System; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| public enum BehaviourTreeState | |
| { | |
| Success, | |
| Failure, | |
| Running | |
| } |
| // Improved FastPlatformSwitcher for Unity 2018 (and maybe other Unity versions) | |
| // For Asset Database v1 | |
| // by Andy Miira (Andrei Müller), October 2019 | |
| // | |
| // Based on: | |
| // Unity – fast build platform switcher script! (by Aymeric - Da Viking Code) | |
| // https://davikingcode.com/blog/unity-fast-build-platform-switcher-script/ | |
| // | |
| // A simple fast platform switcher for Unity (by Waldo Bronchart) | |
| // https://gist.github.com/waldobronchart/b3cb789c028c199e2855 |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| //https://answers.unity.com/questions/510945/find-materials-that-use-a-certain-shader.html | |
| public class ShaderOccurenceWindow : EditorWindow { | |
| [MenuItem ("Tools/Shader Occurence")] | |
| public static void Open () { |