name | 暴露参数的名称。 |
value | 暴露参数的新值。 |
bool 如果未找到暴露参数或快照处于编辑状态,则返回 false。
Sets the value of the exposed parameter specified. When a parameter is exposed, it is not controlled by mixer snapshots. You can only change the parameter with this function.
Note: Calling this function in MonoBehaviour.Awake will result in unexpected behavior. Use MonoBehaviour.Start instead.