Documentation

Unity Engine

Unity Engine

PlayMode

Used by Animation.Play function.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public enum PlayMode

Fields

Value

Description

StopAllWill stop all animations that were started with this component before playing.
StopSameLayerWill stop all animations that were started in the same layer. This is the default when playing animations.