PlayAnimationOnClick Class

Summary

Starts with an idle animation and performs an action when the user clicks the mouse, then returns to idle.
Assembly
Animancer.dll
Namespace
Animancer.Examples.Basics
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["PlayAnimationOnClick"] class Type type-node

Syntax

[AddComponentMenu(Strings.ExamplesMenuPrefix + "Basics - Play Animation On Click")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(Basics) + "/" + nameof(PlayAnimationOnClick))]
public sealed class PlayAnimationOnClick : MonoBehaviour

Examples

Basic Action

Attributes

Type Description
AddComponentMenu
HelpURLAttribute