Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

AnimatorOverrideController.this[string]

public var this[string]: AnimationClip;
public var this[AnimationClip]: AnimationClip;

Description

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