浏览代码

Merge pull request #255 from IIzzaya/drag_and_drop

[Readme] Fix Readme image alignment
/main
GitHub 5 年前
当前提交
911ec551
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 4
      README-ZH.md
  2. 4
      README.md

4
README-ZH.md


#### 十一、与GameObject进行拖拽交互
<div style="text-align: center">
<p align="center">
</div>
</p>
我们提供了一个包装好的`UnityObjectDetector`组件以及`onRelease`回调函数,借此您可以实现简单地将物体(例如Hierarchy内的场景物体、Project窗口下的文件等)拖拽至区域内,来获得`UnityEngine.Object[] `类型的引用并进行操作。

4
README.md


#### Interact with GameObject Drag&Drops
<div style="text-align: center">
<p align="center">
</div>
</p>
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.

正在加载...
取消
保存