void OnEnable() { drawerObject = new NativeDrawerObject(target) { IsShowScroll = IsShowScroll(), }; }
private void InitDrawer() { typeDrawer = NativeDrawerUtility.CreateDefaultTypeDrawer(this); if (typeDrawer == null) { if (NativeDrawerUtility.IsTypeSupported(ValueType)) { if (TypeUtility.IsStructOrClass(ValueType) && Value != null) { drawerObject = new NativeDrawerObject(Value); } } } }