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 "ToggleTest" | |
{ | |
Properties | |
{ | |
[Toggle(FILL_WITH_RED)] | |
_FillWithRed ("Fill With Red", Float) = 0 | |
} | |
SubShader | |
{ | |
Pass |
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
const normalize = (min, max, value) => { | |
if (value < min) return min | |
else if (value > max) return max | |
else return value | |
} | |
const splitChannels = (color, split) => { | |
color = color.replace(split, '').replace(')', '').trim() | |
let channels = color.split(',') |
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
float nrand(float2 uv) | |
{ | |
return frac(sin(dot(uv, float2(12.9898, 78.233))) * 43758.5453); | |
} |
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
# Set the default line endings behavior, in case people don't have core.autocrlf set. | |
* text=auto | |
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf |
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
$ gitlab-ctl reconfigure | |
$ gitlab-ctl pg-upgrade | |
$ gitlab-ctl restart |
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 TMPro; | |
using TMPro.EditorUtilities; | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class UGuiTextToTextMeshPro : Editor | |
{ | |
[MenuItem("GameObject/UI/Convert To Text Mesh Pro", false, 4000)] | |
private static void DoIt() |
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; | |
[ExecuteInEditMode] | |
public class DrawBones : MonoBehaviour | |
{ | |
#if UNITY_EDITOR | |
public bool ShowHierarchyAlwyas = true; | |
public bool ShowSelectedBoneName = true; | |
public Color BoneColor = Color.white; | |
public Color SelectedBoneColor = Color.red; |
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
@import url("https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:700,900"); | |
body { | |
overflow: hidden; | |
background-color: rgba(0, 0, 0, 0); | |
} | |
yt-live-chat-item-list-renderer #items { | |
overflow: hidden !important; | |
} |
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
if(time >= 0 && time <= 15.35) | |
wiggle(4, 10); | |
else | |
value; |
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreib5qig27zoyxdtzv5wb4g5uqa753hg4hu5j7u3gj35u6gkn5j76a4 ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |