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

Commit 86044a6

Browse files
committed
[Readme] Fix Readme image alignment
1 parent d00bd53 commit 86044a6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README-ZH.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ UIWidgets支持渲染文本中包含的表情。表情的图片来自[https://ww
228228

229229
#### 十一、与GameObject进行拖拽交互
230230

231-
<div style="text-align: center">
231+
<p align="center">
232232
<img src="https://connect-prd-cdn.unity.com/20190718/p/images/e3c9cf9b-c732-4eb2-9afd-fe7de894f342_Custom_Inspector_Showcase_320px.gif" width="300"/>
233-
</div>
233+
</p>
234234

235235
我们提供了一个包装好的`UnityObjectDetector`组件以及`onRelease`回调函数,借此您可以实现简单地将物体(例如Hierarchy内的场景物体、Project窗口下的文件等)拖拽至区域内,来获得`UnityEngine.Object[] `类型的引用并进行操作。
236236

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ in the texture `rowCount`, and number of columns `colCount`.
267267

268268
#### Interact with GameObject Drag&Drops
269269

270-
<div style="text-align: center">
270+
<p align="center">
271271
<img src="https://connect-prd-cdn.unity.com/20190718/p/images/e3c9cf9b-c732-4eb2-9afd-fe7de894f342_Custom_Inspector_Showcase_320px.gif" width="300"/>
272-
</div>
272+
</p>
273273

274274
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.
275275

0 commit comments

Comments
 (0)