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)
public static implicit operator PropertyName(string name)
Parameters
Returns
Type | Description |
|---|---|
| PropertyName |
implicit operator PropertyName(PropertyNam)
Converts the passed into a PropertyName. This will be used as the internal ID for the converted PropertyName.
intintpublic static implicit operator PropertyName(int id)
Parameters
Returns
Type | Description |
|---|---|
| PropertyName |