Skip to main content

SingleValue<T>

A class in Root.Township, Alta.

A serializable pair of an object and a float, for inspector lists of weighted or scored things.

Constructors​

MemberWhat it is
SingleValue()Creates a SingleValue from topic and value.
SingleValue(T topic, float value)Creates a SingleValue from topic and value.

Fields​

2 private and internal fields
MemberWhat it is
private T topicBacking field for Topic.
private float valueBacking field for Value.

Properties​

MemberWhat it is
T Topic { get; }The object the value is for.
float Value { get; }The value.