Problem When use "Custom Editor" and "Property Drawers" The Same Time
来源:互联网 发布:微信朋友圈发淘宝链接 编辑:程序博客网 时间:2024/06/06 10:04
When you use "Custom Editor" for a custom class (Mark as A,Use DrawDefaultInspector () in OnInspectorGUI()), And the class contain a list of other class(Mark as B) which will use custom property Drawers.It will run to a problem.The list property of class A will pass to the onGui function of the B's property Drawers too.So if you use the function FindPropertyRelative in the custom property Drawers.you will get a NullReferenceException.It maybe a bug of unity.you can use "property.isArray" to ignore the exception input of onGui of custom property Drawers..
0 0
- Problem When use "Custom Editor" and "Property Drawers" The Same Time
- Problem when launching several jobs at the same time
- Can ORACLE use both memory_target and AIX large pages at the same time ?
- Could I use NEON and VFP at the same time in my application?
- Unity Editor 基础篇(六):Property Drawers
- Read and write a FileStream at the same time
- Restful API becomes 404 when using the CXF at the same time
- How to use isInEditMode() to see layout with custom View in the editor
- MAKE the opencv3.1 and the opencv-contrib at the same time
- how to play music and record from the mic at the same time?
- Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE
- Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE
- Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE
- spring mvc的表单类型转换(custom property editor)
- Problem C: The Same Color
- Problem C: The Same Color
- Create and Use a Custom Formatter in the Apache HBase Shell
- The problem of waiting time when launching a unix shell command from an application engine
- MFC上显示GIF图片(使用 GIF Animation Control控件)
- 启动eclipse弹出“Failed to load the JDI shared library.”
- 看看你的系统几岁了
- 自己的第一个html
- Struts2中的ModelDriven机制及其运用
- Problem When use "Custom Editor" and "Property Drawers" The Same Time
- group_concat出现问题被截断怎么办?
- android线程的几种方式和比较
- android软键盘的一些控制
- (11) java集合 ---- LinkedHashMap和HashMap等Map的比较使用以及 LinkedHashMap的实现原理
- spring security详解
- [Android] PorterDuff使用实例----实现新浪微博图片下载效果
- 网页跳转拨打电话
- 关于组件化开发中常用到的svn,cocoapods代码管理工具错误解决办法(持续更新)