Show / Hide Table of Contents

Class WeightedItem<T>

Weighted item used in WeightedList<T, ItemType>
Inheritance
System.Object
WeightedItem<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Utils
Assembly: Jotunn.dll
Syntax
public class WeightedItem<T>
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

WeightedItem(T, Single)

Declaration
public WeightedItem(T item, float weight = 0F)
Parameters
Type Name Description
T item
System.Single weight

Properties

| Improve this Doc View Source

Item

Declaration
public T Item { get; }
Property Value
Type Description
T
| Improve this Doc View Source

Weight

Declaration
public virtual float Weight { get; set; }
Property Value
Type Description
System.Single

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾