IntConstrainedValue
An IntConstrainedValue is used to store a value which can never be less than MinValue and can never be more than MaxValue.
요약
속성
- 숨김복제되지 않음병렬 읽기더 이상 사용되지 않음
Hold a Integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue. Replaced by IntConstrainedValue.Value, but still functional.
The highest number that the IntConstrainedValue.Value property can be.
The lowest number that the IntConstrainedValue.Value property can be.
Used to hold a integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue.
이벤트
Fired whenever the Value of the IntConstrainedValue is changed.
속성
ConstrainedValue
Hold a Integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue. Replaced by IntConstrainedValue.Value, but still functional.
Value
Used to hold a integer value between IntConstrainedValue.MinValue and IntConstrainedValue.MaxValue.
메서드
이벤트
Changed
Fired whenever the Value of the IntConstrainedValue is changed.
매개 변수
코드 샘플
local function valueChanged(newValue)
print(newValue)
end
workspace.IntConstrainedValue.Changed:Connect(valueChanged)
workspace.IntConstrainedValue.Value = 2