文档

Unity Engine

Unity Engine

PlayMode

Used by Animation.Play function.
阅读时间1 分钟最后更新于 1 个月前

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.