Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsInTransition(int)

Returns true if there is a transition on the given layer, false otherwise.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public bool IsInTransition(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

boolTrue if there is a transition on the given layer, false otherwise.