Method CreateValue
CreateValue(T)
Creates a readonly NUI variable that cannot be changed at runtime.
public static NuiValue<T> CreateValue(T value)
Parameters
valueTThe value to assign to the property.
Returns
- NuiValue<T>
A readonly NuiValue<T> instance wrapping the value.