Documentation

Unity Engine

Unity Engine

length

If you know your length in advance, you should set it here. Otherwise it's assumed to end at some point in the future, if GeneratorInstance.ICapabilities.isFinite is set to true.
Read time 1 minuteLast updated 18 days ago

Definition

DiscreteTime? length { get; }

Remarks

This value is ignored for GeneratorInstances that are not finite (ie. GeneratorInstance.ICapabilities.isFinite).