s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
Builder
chevron_left
Classes
struct
Builder
Methods
functions
From
functions
FromDictionary
functions
FromObject
functions
ReadOnly
functions
Set
Static Methods
functions
FromConsoleVariable
functions
FromConsoleVariableInt
Builder
A helper to create binds between two properties (or whatever you want) <para> Example usage: set "BoolValue" from value of "StringValue" <code>BindSystem.Build.Set( this, "BoolValue" ).From( this, "StringValue" );</code></para>
struct
Sandbox.Bind
.
sealed
Sandbox.Bind
functions
Methods
5
From
(
obj
,
target
)
Link
FromDictionary
(
dict
,
key
)
Link
FromObject
(
obj
)
Link
ReadOnly
(
makeReadOnly
)
Builder
Makes the bind link one way. The system will not try to write to the target/right hand property. (The one you set via "From" methods)
Set
(
obj
,
targetName
,
onChanged
)
Builder
functions
Static Methods
2
FromConsoleVariable
(
self
,
name
)
Link
Bind the Left hand side to the value of the given console variable.
FromConsoleVariableInt
(
self
,
name
)
Link
Bind the Left hand side to the value of the given console variable as an integer.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.