Skip to content

Instantly share code, notes, and snippets.

View BlueTRaven's full-sized avatar

BlueTRaven

  • WV
View GitHub Profile
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
[CustomPropertyDrawer(typeof(IntRangeAttribute))]
public class IntRangeDrawer : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{