Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit d00bd53

Browse files
committed
[Feature] Update Drag&Drop Readme
1 parent b896037 commit d00bd53

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

README-ZH.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ UIWidgets支持渲染文本中包含的表情。表情的图片来自[https://ww
232232
<img src="https://connect-prd-cdn.unity.com/20190718/p/images/e3c9cf9b-c732-4eb2-9afd-fe7de894f342_Custom_Inspector_Showcase_320px.gif" width="300"/>
233233
</div>
234234

235-
UIWidgets也可以在EditorWindow上以及在游戏进程非运行状态下运行,因此我们可以使用它来编绘实用且美观的小组件来拓展编辑器。
236-
237235
我们提供了一个包装好的`UnityObjectDetector`组件以及`onRelease`回调函数,借此您可以实现简单地将物体(例如Hierarchy内的场景物体、Project窗口下的文件等)拖拽至区域内,来获得`UnityEngine.Object[] `类型的引用并进行操作。
238236

239237
你可以在“UIWidgetsTests -> Drag&Drop”下找到简单的实例样例。

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ in the texture `rowCount`, and number of columns `colCount`.
271271
<img src="https://connect-prd-cdn.unity.com/20190718/p/images/e3c9cf9b-c732-4eb2-9afd-fe7de894f342_Custom_Inspector_Showcase_320px.gif" width="300"/>
272272
</div>
273273

274-
UIWidgets can also be run on the EditorWindow without playing the runtime mode, thus, we can build some useful and pretty widgets to expand the editor.
275-
276274
With the provided packaged stateful widget `UnityObjectDetector` and its `onRelease` callback function, you can easily drag some objects (for example GameObject from Hierarchy, files from Project Window, etc) into the area, get the UnityEngine.Object[] references and make further modification.
277275

278276
Please refer to "UIWidgetsTests -> Drag&Drop" for simple examples.

0 commit comments

Comments
 (0)