Skip to content

Instantly share code, notes, and snippets.

@keijiro
keijiro / CustomizedLightProbeGroupEditor.js
Created January 20, 2012 07:31
CustomizedLightProbeGroupEditor.js
#pragma strict
@CustomEditor(LightProbeGroup)
class CustomizedLightProbeGroupEditor extends Editor {
var probeNumber : int;
function OnEnable() {
probeNumber = (target as LightProbeGroup).probePositions.Length;
}