Skip to content

Instantly share code, notes, and snippets.

@sliptrixx
sliptrixx / Brief.md
Last active June 5, 2023 19:27
Scriptable Lists - A property drawer for nested scriptable objects

Brief

The scriptable list framework allows developers to create a list of scriptable objects inside a scriptable object and provides a neat way to modify the values in the inspector. Have a look at this:

image

The source code to build that scriptable object is this simple:

@IJEMIN
IJEMIN / ExportPackage.cs
Created December 3, 2017 10:08
Unity Export Package with Tag and Layers and Input Settings
// 단순 유니티 패키지 제작용 스크립트
using UnityEngine;
using System.Collections;
using UnityEditor;
public static class ExportPackage {
//--------------------------------------------------------------------------------------------------------
//
// ScriptName : AriUVGridding
// Contents : UVを格子状に整列。
// Author : Ari
// URL : http://cgjishu.net/
// Since : 2015/02
// LastUpdate : 2016/11/20 1UV選択時の処理を高速化。Escで中断機能追加。
// : 2016/01/17 1UV選択の判定を、シェルの中で1UVのときに変更。
// : 2015/12/06 1UV選択のループ範囲が50程度で止まってしまっていたので修正。
@yujen
yujen / Sprites-Additive.shader
Last active August 2, 2023 10:29
Additive color tint sprite shader modified from Unity built-in Sprites-Default.shader
Shader "Sprites/Additive"
{
Properties
{
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {}
_Color ("Additive Tint", Color) = (1,1,1,1)
[MaterialToggle] PixelSnap ("Pixel snap", Float) = 0
}
SubShader