SetInteger
Adds a property to the block. If an integer property with the given name already exists, the old value is replaced.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
SetInteger(string, int)
Adds a property to the block. If an integer property with the given name already exists, the old value is replaced.
public void SetInteger(string name, int value)
Parameters
SetInteger(int, int)
Adds a property to the block. If an integer property with the given name already exists, the old value is replaced.
public void SetInteger(int nameID, int value)