文档

Unity Engine

Unity Engine

GetDistance(int)

Get the current distance band index of a given sphere.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int GetDistance(int index)

Parameters

index

The index of the sphere.

Returns

Type

Description

intThe sphere's current distance band index.