文档

Unity Engine

Unity Engine

implicit operator PropertyName

Converts the string passed into a PropertyName. Additional Resources: PropertyName(string).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

implicit operator PropertyName(PropertyNam)

Converts the
string
passed into a PropertyName. Additional Resources: PropertyName(string).
public static implicit operator PropertyName(string name)

Parameters

name

Returns

Type

Description

PropertyName

implicit operator PropertyName(PropertyNam)

Converts the
int
passed into a PropertyName. This
int
will be used as the internal ID for the converted PropertyName.
public static implicit operator PropertyName(int id)

Parameters

id

Returns

Type

Description

PropertyName