Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDistance(int)

Get the current distance band index of a given sphere.
Read time 1 minuteLast updated 6 days ago

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.