Documentation

Unity Engine

Unity Engine

GetChannelName(int)

Gets the name of the channel at a position in the set.
Read time 1 minuteLast updated 2 days ago

Definition

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

Parameters

index

Position of the channel, from 0 to less than AnimatableFloatChannels.channelCount.

Returns

Type

Description

stringThe channel name. If
index
is out of range, returns an empty string.