IsFinite(Vector2)
Get whether both components of the specified vector are finite i.e. neither NaN nor infinite.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public static bool IsFinite(Vector2 value)
Parameters
The vector to check.
Returns
Type | Description |
|---|---|
| bool | Whether the vector is finite. |