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 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
Classes
BindSystem
chevron_left Classes
class
BindSystem

Properties

data_objectBuilddata_objectCatchExceptionsdata_objectLinkCountdata_objectNamedata_objectThrottleUpdates

Methods

functionsFindAttributesfunctionsFlushfunctionsTick
BindSystem
Data bind system, bind properties to each other.
class Sandbox.Bind .
Sandbox.Bind

data_object Properties 5

Build
Builder
A helper to create binds between two properties (or whatever you want)
CatchExceptions
bool
If true we'll catch and remove exceptions when testing links instead of propagating them to the Tick call.
LinkCount
int
The current amount of active links
Name
string
The debug name given to this system (ie Tools, Client, Server)
ThrottleUpdates
bool
If true we'll throttle time between link change checks. This should always be enabled in game, for performance reasons.

functions Methods 3

FindAttributes (obj, property)
Attribute[]
For this object, with this property, find the property that supplies it and return any attributes set on it. This is useful for editors to allow them to supply the correct editor, without having access to the property.
Flush ()
Call a tick with no timer limits, forcing all pending actions to be actioned
Tick ()
Should be called every frame. Will run through the links and check for changes, then action those changes. Will also remove dead links.
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