C# Class UnityPlatformer.CharacterAnimatorUnity

Animator class using UnityEngine.Animator
Inheritance: CharacterAnimator
Datei anzeigen Open project: llafuente/unity-platformer

Public Properties

Property Type Description
animator UnityEngine.Animator

Public Methods

Method 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 method

Get animation length in seconds using RuntimeAnimatorController
public GetAnimationLength ( string animation ) : float
animation string
return float

Play() public method

call animator.Play
public Play ( string animation ) : void
animation string
return void

PlaybackSpeed() public method

public PlaybackSpeed ( float speed ) : void
speed float
return void

StartPlayback() public method

public StartPlayback ( ) : void
return void

StopPlayback() public method

public StopPlayback ( ) : void
return void

Property Details

animator public_oe property

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