#if UNITY_EDITOR using UnityEditor; namespace jeanf.propertyDrawer { public static class SerializedPropertyExtentions { public static T GetValue(this SerializedProperty property) { return ReflectionUtil.GetNestedObject(property.serializedObject.targetObject, property.propertyPath); } } } #endif