C# Class UnityPlatformer.CharacterAnimatorUnity

Animator class using UnityEngine.Animator
Inheritance: CharacterAnimator
Afficher le fichier Open project: llafuente/unity-platformer

Méthodes publiques

Свойство Type Description
animator UnityEngine.Animator

Méthodes publiques

Méthode Description
GetAnimationLength ( string animation ) : float

Get animation length in seconds using RuntimeAnimatorController

Play ( string animation ) : void

call animator.Play

PlaybackSpeed ( float speed ) : void
StartPlayback ( ) : void
StopPlayback ( ) : void

Method Details

GetAnimationLength() public méthode

Get animation length in seconds using RuntimeAnimatorController
public GetAnimationLength ( string animation ) : float
animation string
Résultat float

Play() public méthode

call animator.Play
public Play ( string animation ) : void
animation string
Résultat void

PlaybackSpeed() public méthode

public PlaybackSpeed ( float speed ) : void
speed float
Résultat void

StartPlayback() public méthode

public StartPlayback ( ) : void
Résultat void

StopPlayback() public méthode

public StopPlayback ( ) : void
Résultat void

Property Details

animator public_oe property

Unity docs: Interface to control the Mecanim animation system.
public Animator,UnityEngine animator
Résultat UnityEngine.Animator