s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Attributes
GameResourceAttribute
chevron_left Attributes
attribute
GameResourceAttribute

Constructors

functionsGameResourceAttribute

Properties

data_objectCanEmbedremove_circleDescriptiondata_objectIcondata_objectIconBgColordata_objectIconFgColor
GameResourceAttribute
attribute Sandbox .account_tree extends AssetTypeAttribute
obsoleteSandbox.Engine

build Constructors 1

GameResourceAttribute (title, extension, description)

data_object Properties 5

CanEmbed
bool
Can this GameResource be an embedded resource? Allows the ability to edit a resource inline instead of saving it to a specific file.
Description
obsoletestring
Description of this game resource. This is obsolete, we'll use the xml summary description.
Icon
string
Icon to be used for this asset Can be an absolute path of a PNG Or a material icon for this game resource's thumbnail.
IconBgColor
string
Background color for this resource's thumbnail.
IconFgColor
string
Foreground color (icon color) for this resource's thumbnail.

Inheritance

AssetTypeAttribute
GameResourceAttribute
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter