Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

MinValueAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 66
Viewing posts 1 to 1

After the data changes, if the data is out of range, it is automatically corrected to the limited min value

[MinValue(0)]
public int IntMin0;

Limit range supports type: int, float or reference another property Supports property type: int, float, Vector2, Vector3, Vector4, Vector2Int, Vector3Int