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
Attributes
ConditionalVisibilityAttribute
TestCondition
chevron_left
Attributes
attribute
ConditionalVisibilityAttribute
Constructors
lock
ConditionalVisibilityAttribute
Methods
functions
TestCondition
TestCondition
The test condition.
method
bool
TestCondition
(
System.Object
targetObject
,
TypeDescription
td
)
Parameters
Name
Type
Description
targetObject
System.Object
The class instance of the property this attribute is attached to.
td
TypeDescription
Description of the
's type.
Returns
Type
Description
bool
Return true if the property should be visible.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.