Skip to main content

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

ButtonAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 56
Viewing posts 1 to 1
(2 edits)

Displays the method as a button, and the user can click to execute the method body

public int Value;
[Button]
protected void Test1()
{
    Value += 1;
}

Runtime supported