- Home /
Question by
nicloay · Dec 03, 2013 at 07:52 PM ·
inspectorpropertydrawerlong
How to work with long type in inspector or propertydrawer
I have a class where i keep one long value, and i want to change it through inspector. I can't figure out how to do it. I've tried to use CustomEditor and PropertyDrawer, everywhere i have the same problem SerializedProperty form which i can't take target object or find this property.
structure of the class is following [Serializable] class a{ public long myLongValue; }
class b:ScriptableObject{
public a[] myarray;
}
Comment