JUtils
A unity utilities library
|
A struct that makes it easier to work with weighted randomness
Public Member Functions | |
Weighted (T initialValue, float weight) | |
Create a new instance of Weighted`T More... | |
Properties | |
float | weight [get] |
T | value [get] |
Properties inherited from JUtils.IWeighted | |
float | weight [get] |
A struct that makes it easier to work with weighted randomness
|
inline |
Create a new instance of Weighted`T
References JUtils.Weighted< T >.weight.
|
get |
|
get |