s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter