摘要: Editor模式下的控件没有提供直接检测双击的消息,但可以简单模拟出双击检测的效果,代码如下所示: private double clickTime = 0f; ... if (GUILayout.Button("TestButton")) { if(Edi... 阅读全文
posted @ 2015-02-07 17:58 斯芬克斯 阅读(761) 评论(0) 推荐(0) 编辑