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
school
Tutorials
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
Structs
AssetTags
chevron_left
Structs
struct
AssetTags
search
Methods
functions
Add
functions
Contains
functions
GetAll
functions
GetEnumerator
functions
Remove
functions
Set
functions
Toggle
AssetTags
Represents a collection of tags for an asset. This is only necessary so we can save tags as soon as they are added.
struct
Editor.Asset
.
sealed
Sandbox.Tools
functions
Methods
7
Add
(
tag
)
Add a single tag.
Contains
(
tag
)
bool
Returns whether this asset has given tag.
GetAll
(
)
String[]
Returns all tags of this asset.
GetEnumerator
(
)
IEnumerator`1
Remove
(
tag
)
Remove given tag from the asset.
Set
(
tag
,
set
)
Set or remove the tag based on second argument.
Toggle
(
tag
)
Remove the tag if present, add if not.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.