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
Editor Classes
MapClassVariable
chevron_left Editor Classes
class
MapClassVariable

Constructors

functionsMapClassVariable

Properties

data_objectDefaultValuedata_objectDescriptiondata_objectGroupNamedata_objectLongNamedata_objectMetadatadata_objectNamedata_objectPropertyTypedata_objectPropertyTypeOverride
MapClassVariable
Represents a variable.
class Editor .
Sandbox.Tools

build Constructors 1

MapClassVariable ()

data_object Properties 8

DefaultValue
object
Default value for this variable.
Description
string
Description for this variable.
GroupName
string
Category or group for this variable.
LongName
string
The user friendly name for UI.
Metadata
Dictionary`2
General purpose key-value store to alter functionality of UI, map compilation, editor helpers, etc.
Name
string
The internal name.
PropertyType
Type
Data type for this variable.
PropertyTypeOverride
string
Internal, used to override the type to one the tools understand.
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