Skip to content

Instantly share code, notes, and snippets.

@Fscibe
Fscibe / LocIDAttribute.cs
Created October 5, 2019 07:48
Drop-down Term selector for Unity I2 Localization
using UnityEngine;
/// <summary>
/// Custom attribute to display a drop-down list containing localized Terms.
///
/// Usage:
///
/// class Foo : ScriptableObject
/// {
/// [LocID]
@Fscibe
Fscibe / ProjectorBlobShadow.shader
Created January 15, 2017 11:48
[Unity Shader] Projector Blob Shadow
//
// Based on Unity's "ProjectorMultiply" shader:
// Slightly modified to apply effect only when the surface is pointing up.
//
// Upgrade NOTE: replaced '_Projector' with 'unity_Projector'
// Upgrade NOTE: replaced '_ProjectorClip' with 'unity_ProjectorClip'
Shader "Projector/BlobShadow" {
Properties {