| OptionalTValue Property |
The value of this instance. It should only be used if UseValue is true. Otherwise, some
other value should be used, or code that does not need it must be executed instead.
Namespace:
Gamelogic.Extensions
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public T Value { get; set; }
Property Value
Type:
TThe value of this Optional instance.
Examples This shows a typical example of how to use this class.
if (optionalMaterial.UseValue)
{
renderer.material = material;
}
See Also