using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FullInspector;
using FullInspector.Internal;
using UnityEditor;
using UnityEngine;
[CustomAttributePropertyEditor(typeof(RangeAttribute), ReplaceOthers = false)]
public class RangeAttributeEditor<T> : AttributePropertyEditor<T, RangeAttribute>
{
protected override T Edit(Rect region, GUIContent label, T element, RangeAttribute attribute, fiGraphMetadata metadata)
{
return element;
}
protected override float GetElementHeight(GUIContent label, T element, RangeAttribute attribute, fiGraphMetadata metadata)
{
return 100;
}
}
and visual studio gets the reference and doesnt tell about any error.
and then i go to unity
and get this error
Assets/Src/EditorAttributes/RangeAttributeEditor.cs(12,44): error CS0246:
The type or namespace name `AttributePropertyEditor`2' could not be found.
Are you missing a using directive or an assembly reference?
Could it be because i'm still using a demo version?
Wrote this code
and visual studio gets the reference and doesnt tell about any error. and then i go to unity and get this error
Could it be because i'm still using a demo version?