s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
ComponentList
chevron_left
Classes
class
ComponentList
search
Properties
data_object
Count
Methods
functions
Create
functions
FirstOrDefault
functions
ForEach
functions
Get
functions
GetAll
functions
GetInAncestors
functions
GetInAncestorsOrSelf
functions
GetInChildren
functions
GetInChildrenOrSelf
functions
GetInDescendants
functions
GetInDescendantsOrSelf
functions
GetInParent
functions
GetInParentOrSelf
functions
GetOrCreate
functions
Move
functions
TryGet
menu
ComponentList
class
Sandbox
.
Sandbox.Engine
data_object
Properties
1
Count
int
Amount of components - including disabled
functions
Methods
16
Create
(
type
,
startEnabled
)
Component
Add a component of this type
FirstOrDefault
(
value
)
Component
ForEach
(
name
,
includeDisabled
,
action
)
Get
(
search
)
T
Get a component of this type
GetAll
(
)
IEnumerable`1
Get all components, including disabled ones
GetInAncestors
(
includeDisabled
)
T
Find component on this gameobject's ancestors
GetInAncestorsOrSelf
(
includeDisabled
)
T
Find component on this gameobject's ancestors or on self
GetInChildren
(
includeDisabled
)
T
Find component on this gameobject's immediate children
GetInChildrenOrSelf
(
includeDisabled
)
T
Find component on this gameobject's immediate children or on self
GetInDescendants
(
includeDisabled
)
T
Find component on this gameobject's decendants
GetInDescendantsOrSelf
(
includeDisabled
)
T
Find component on this gameobject's decendants or on self
GetInParent
(
includeDisabled
)
T
Find component on this gameobject's parent
GetInParentOrSelf
(
includeDisabled
)
T
Find component on this gameobject's parent or on self
GetOrCreate
(
flags
)
T
Find this component, if it doesn't exist - create it.
Move
(
baseComponent
,
delta
)
Move the position of the component in the list by delta (-1 means up one, 1 means down one)
TryGet
(
component
,
search
)
bool
Try to get this component
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.