创作者中心
中心
学习
商店
人才
论坛
路线图
Create
概览
体验
虚拟形象
素材
Open Cloud
Create
/
体验
/
类 (Classes)
中文(简体)
反馈
StyleRule
显示已弃用
*
此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按
此处
。
概要
属性
Priority
:
number
读取并联
Selector
:
string
读取并联
SelectorError
:
string
只读
未复制
读取并联
查看继承自 Instance 的全部
查看继承自 Object 的全部
方法
GetProperties
()
:
Dictionary
GetProperty
(
name :
string
)
:
Variant
SetProperties
(
styleProperties :
Dictionary
)
:
()
SetProperty
(
name :
string
,
value :
Variant
)
:
()
继承自
StyleBase
的方法
GetStyleRules
()
:
Instances
InsertStyleRule
(
rule :
StyleRule
,
priority :
number
?
)
:
()
SetStyleRules
(
rules :
Instances
)
:
()
查看继承自 Instance 的全部
查看继承自 Object 的全部
活动
继承自
StyleBase
的活动
StyleRulesChanged
()
:
RBXScriptSignal
查看继承自 Instance 的全部
查看继承自 Object 的全部
属性
Priority
number
读取并联
Selector
string
读取并联
SelectorError
string
只读
未复制
读取并联
查看继承自 Instance 的全部
查看继承自 Object 的全部
方法
GetProperties
Dictionary
返回
Dictionary
GetProperty
Variant
参数
name
:
string
默认值:""
返回
Variant
SetProperties
()
参数
styleProperties
:
Dictionary
默认值:""
返回
()
SetProperty
()
参数
name
:
string
默认值:""
value
:
Variant
默认值:""
返回
()
属性继承自StyleBase
查看继承自 Instance 的全部
查看继承自 Object 的全部
活动
属性继承自StyleBase
查看继承自 Instance 的全部
查看继承自 Object 的全部
在此页面
概要
属性
方法
活动
属性
Priority
Selector
SelectorError
方法
GetProperties
GetProperty
SetProperties
SetProperty
继承自 StyleBase
活动
继承自 StyleBase