WorldToLocal(Vector3)
Converts a world position to local position.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.GridModule
public Vector3 WorldToLocal(Vector3 worldPosition)
Parameters
World Position to convert.
Returns
Type | Description |
|---|---|
| Vector3 | Local position of the world position. |