Bool Value
*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处。
摘要
活动
Changed(value: boolean):RBXScriptSignal |
changed(value: boolean):RBXScriptSignal |
API 参考
属性
活动
Changed
参数
代码示例
BoolValue.Changed
local boolValue = script.Parent.BoolValue
local function printValue(value)
print(value)
end
boolValue.Changed:Connect(printValue)
boolValue.Value = truechanged