Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorOverrideController.this[string]

Switch to Manual
public var this[string]: AnimationClip;
public var this[AnimationClip]: AnimationClip;

Description

Returns either the overriding clip if set or the original clip named name.