View SnapAngleSample.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SnapAngleSample : MonoBehaviour
{
private void Update()
{
var v = Input.GetAxis("Vertical");
var h = Input.GetAxis("Horizontal");
View SpreadSheet.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using System.Linq;
// https://developers.google.com/sheets/guides/concepts?hl=ja
namespace TSKT
{
View Sprite-Heat.shader
// Copyright (c) 2016 Unity Technologies
// Released under the MIT license
Shader "Sprites/Heat"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
_Color ("Tint", Color) = (1,1,1,1)
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0
View HeatShimmer.cs
using System;
using UnityEngine;
using UnityStandardAssets.ImageEffects;
namespace TSKT
{
[AddComponentMenu("TSKT/Image Effects/HeatShimmer")]
[RequireComponent(typeof(Camera))]
public class HeatShimmer : ImageEffectBase
{
View TextureBlue.cs
using UnityEngine;
using UnityStandardAssets.ImageEffects;
namespace TSKT
{
[ExecuteInEditMode]
[RequireComponent (typeof(Camera))]
public class TextureBlur : PostEffectsBase
{
public float maxBlurSize = 2.0f;
View DirectionalGradation.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using System;
// Unity5.5.1p4
namespace TSKT
{
View Popping.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
namespace TSKT
{
[RequireComponent(typeof(Text))]
public class Popping : BaseMeshEffect
{
View UIVerticesPool.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TSKT
{
public static class UIVerticesPool
{
static System.WeakReference verticesBuffer;
public static List<UIVertex> Get()
View Sprite-ZWrite.shader
Shader "TSKT/Sprites/ZWrite"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
_Color ("Tint", Color) = (1,1,1,1)
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0
}
SubShader
View WaterMirror2D.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityStandardAssets;
// Unity5.5.2f1
namespace TSKT
{
[RequireComponent(typeof(Camera))]