Skip to content

Instantly share code, notes, and snippets.

View sergebat's full-sized avatar

Sergey Batishchev sergebat

  • Vancouver, BC, Canada
View GitHub Profile
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)
@sergebat
sergebat / SingletonScriptable.cs
Created October 18, 2018 18:39 — forked from nagedev/SingletonScriptable.cs
SingletonScriptable
using System.Linq;
using UnityEditor;
using UnityEngine;
public abstract class SingletonScriptable<T> : ScriptableObject where T : ScriptableObject
{
static T _instance = null;
public static T instance
{
get
@sergebat
sergebat / install-docker.sh
Created February 13, 2018 18:19 — forked from lehuutien1996/install-docker.sh
Installing Docker bash shell script on Ubuntu
#!/bin/bash
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
@sergebat
sergebat / .block
Created December 9, 2017 20:43 — forked from nevernormal1/.block
SVG Jigsaw Puzzle Generator
license: MIT