Skip to main content

别名

  • debug.setconstant

参数

function | number
必填
Lua function or stack level whose constant is modified.
number
必填
One-based constant index.
any
必填
New value for the constant.

示例

Replace one Proto constant in a Lua closure or stack level.