arrow-left

All pages
gitbookPowered by GitBook
1 of 17

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Run

AnythingWorld.Animation.RunWalkIdleController.Run

hashtag
Declaration

public void Run()

hashtag
Description

Transition the object to the run animation.

Wait

AnythingWorld.Animation.LegacyAnimationController.Wait

Declaration

public IEnumerator Wait(float seconds, Action callback)

hashtag
Parameters

seconds

Length of time to wait for callback

callback

hashtag
Description

Controller waits a set length of seconds and then does a function call.

The function to callback

JumpStart

AnythingWorld.Animation.RunWalkIdleController.JumpStart

hashtag
Declaration

public void JumpStart()

hashtag
Description

Transition the object to the start of the jump animation.

MovementJumpLegacyController

AnythingWorld.Animation.MovementJumpLegacyController

Public Methods

Blend between the different movement speeds of the object (Idle, Walk, and Run)

Transition the object to the idle animation.

Transition the object to the start of the jump animation.

Transition the object to the falling animation.

Transition the object to the end of the jump animation.

Transition the object to the run animation.

Transition the object to the walk animation.

BlendAnimationOnSpeed
Idle
JumpStart
JumpFall
Land
Run
Walk

LegacyAnimationController

AnythingWorld.Animation.LegacyAnimationController

Public Methods

Crossfade between the current animation and another animation

Play a new animation

Stop all animations

Controller waits a set length of seconds and then does a function call

CrossFadeAnimation
PlayAnimation
StopAnimations
Wait

BlendAnimationOnSpeed

AnythingWorld.Animation.RunWalkIdleController.BlendAnimationOnSpeed

hashtag
Declaration

public void BlendAnimationOnSpeed(float speed)

hashtag
Parameters

hashtag
Description

Blend between the different movement speeds of the object (Idle, Walk, and Run)

Idle

AnythingWorld.Animation.RunWalkIdleController.Idle

hashtag
Declaration

hashtag
Description

speed

The speed of the object

Transition the object to the idle animation.
public void Idle()

Animation

AnythingWorld.Animation

hashtag
Description

Namespace holding scripts handling animation import and controllers.

Classes

MovementJumpLegacyController

Default legacy controller for rigged objects, such as animals and humans

FlyingAnimationController

Default legacy controller for flying objects, such as birds

Walk

AnythingWorld.Animation.RunWalkIdleController.Walk

hashtag
Declaration

public void Walk()

hashtag
Description

Transition the object to the walk animation.

Land

AnythingWorld.Animation.RunWalkIdleController.Land

hashtag
Declaration

public void Land()

hashtag
Description

Transition the object to the end of the jump animation.

StopAnimations

AnythingWorld.Animation.LegacyAnimationController.StopAnimations

Declaration

hashtag
Description

Stop all animations.

Fly

AnythingWorld.Animation.FlyingAnimationController.Fly

hashtag
Declaration

hashtag
Description

FlyingAnimationController

AnythingWorld.Animation.FlyingAnimationController

Public Methods

JumpFall

AnythingWorld.Animation.RunWalkIdleController.JumpFall

hashtag
Declaration

Parameters

CrossFadeAnimation

AnythingWorld.Animation.LegacyAnimationController.CrossFadeAnimation

Declaration

Parameters

hashtag

public void StopAnimations()
Transition the object to the flying animation.
public void Fly()
hashtag
Description

Transition the object to the falling animation.

public void JumpFall(bool fall)

fall

Is the object falling?

Description

Crossfade between the current animation and another animation.

public void CrossFadeAnimation(string animationName)

animationName

Name of animation to crossfade to

Transition the object to the flying animation.

Transition the object to the idle animation.

Fly
Idle

PlayAnimation

AnythingWorld.Animation.LegacyAnimationController.PlayAnimation

Declaration

public void PlayAnimation(string animationName)

Parameters

animationName

Name of animation to play

hashtag
Description

Play a new animation.

Idle

AnythingWorld.Animation.FlyingAnimationController.Idle

hashtag
Declaration

public void Idle()

hashtag
Description

Transition the object to the idle animation.