Struct WeightedSprite
A Sprite with a Weight value for randomization.
Namespace: UnityEngine.Tilemaps
Syntax
[Serializable]
public struct WeightedSprite
Fields
Sprite
Sprite.
Declaration
public Sprite Sprite
Field Value
Type | Description |
---|---|
Sprite |
Weight
Weight of the Sprite.
Declaration
public int Weight
Field Value
Type | Description |
---|---|
Int32 |