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 "Sprites/OutlineMeter" | |
| { | |
| Properties | |
| { | |
| [PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
| _Color ("Tint", Color) = (1,1,1,1) | |
| [MaterialToggle] PixelSnap ("Pixel snap", Float) = 0 | |
| [HideInInspector] _RendererColor ("RendererColor", Color) = (1,1,1,1) | |
| [HideInInspector] _Flip ("Flip", Vector) = (1,1,1,1) | |
| [PerRendererData] _AlphaTex ("External Alpha", 2D) = "white" {} |
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
| // ==UserScript== | |
| // @name 哔站直播全裸2233娘 | |
| // @description 哔站直播间的2233娘挂件替换为全裸版本 | |
| // @description:zh-TW 嗶站直播間的2233娘掛件替換為全裸版本 | |
| // @namespace https://github.com/journey-ad | |
| // @author journey-ad | |
| // @include *://live.bilibili.com/* | |
| // @require https://cdn.jsdelivr.net/jquery/1.12.4/jquery.min.js |
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 System.Collections.Generic; | |
| public class PlayerPrefsTools | |
| { | |
| public static void GetAllPlayerPrefKeys(ref List<string> keys) | |
| { | |
| if (keys != null) | |
| { | |
| keys.Clear(); | |
| } |
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
| // threshold for mask can be controlled using vertex color alpha (useful for spriteRenderers or particle systems) | |
| // _MainTex: alpha of this texture is used as a mask | |
| // _EmissionTex: usually rgb noise texture, adjust it's scaling if needed | |
| // color remap and oscilation for each channel of emission can be modified in _EmStrobeBFALR, _EmStrobeBFALG, _EmStrobeBFALB | |
| // Base: base amplitude of brightness oscilation | |
| // Freq: frequency of oscilation | |
| // Ampl: amplitude of oscilation | |
| // L: how much _EmissionTex affects this color | |
| Shader "StandardWMask" { |
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; | |
| public class MathParabola | |
| { | |
| public static Vector3 Parabola(Vector3 start, Vector3 end, float height, float t) | |
| { | |
| Func<float, float> f = x => -4 * height * x * x + 4 * height * x; |
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
| // c# companion script | |
| // SpriteUVToShader.cs -------------------------------------------------------------------------------------------------------------------------------- // | |
| // Save you your project, add to your SpriteRenderer gameObject | |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| [ExecuteInEditMode] |
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.Collections; | |
| [CustomEditor(typeof(Animator))] | |
| public class AnimatorInspector : Editor | |
| { | |
| void OnEnable() | |
| { | |
| } |
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
| Please note this script has moved: https://github.com/EsotericSoftware/spine-scripts |
NewerOlder