文档

Unity Engine

Unity Engine

stringParameter

String parameter that is stored in the event (Read Only).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public string stringParameter { get; }

Remarks

Returns the string parameter value that was configured on the animation event in the Animation window or via script when authoring the animation clip. Note: Accessing this property allocates memory as the string is retrieved from native code.