メインコンテンツへスキップ

エイリアス

  • 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.