Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

DisableIfAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 64
Viewing posts 1 to 1
(1 edit)

Disables the control according to the specified conditions

public bool Switch1;
[DisableIf(nameof(Switch1))]
public int Value1;