Skip to content

Instantly share code, notes, and snippets.

@AonekoSS
AonekoSS / LayerSetPassThrough.jsx
Created February 12, 2015 11:38
Photoshop用 全レイヤーセットの描画モードを「通過」にするスクリプト
fixLayerSets(app.activeDocument.layerSets);
function fixLayerSets(layerSets){
for(var i=0; i<layerSets.length; ++i){
layerSets[i].blendMode = BlendMode.PASSTHROUGH;
fixLayerSets(layerSets[i].layerSets);
}
}
@tsubaki
tsubaki / ReduceVertexPolygonCollider2D.cs
Created January 12, 2015 15:52
PolygonColliderの多すぎる頂点を減らす。ベースはEngidia SCP - Eduard Bosch (eduardbosch@engidia.com)さんのRemoveInternalShapes
/**
* Author: Engidia SCP - Eduard Bosch (eduardbosch@engidia.com)
* File: RemoveInternalShapes.cs
*/
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
@TAK-EMI
TAK-EMI / TAK_Handle.cs
Last active August 29, 2015 14:07
Unity用Editorスクリプト。移動回転拡縮を同時にできるハンドルを表示します。Editorフォルダに入れてください。コメントにunitypackageも用意しました。質問等あればこちらまでどうぞ。https://twitter.com/TAK_EMI
using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomEditor(typeof(Transform))]
public class TAK_Handle : Editor
{
static bool viewFlag = true;
bool ctrlFlag = false;