更新GenerateNormal 文字的 参数
This commit is contained in:
parent
fc18097b7a
commit
f430d6af41
|
|
@ -23,11 +23,9 @@ class _FontAssetManager_ {
|
|||
}
|
||||
|
||||
//生成普通宋体小字
|
||||
function GenerateNormal(text, rgba, stroke) {
|
||||
function GenerateNormal(text, stroke, style = {}) {
|
||||
//登录按钮文本
|
||||
local TextActor = TextActor(0, {
|
||||
color = rgba
|
||||
});
|
||||
local TextActor = TextActor(0, style);
|
||||
TextActor.SetText(text);
|
||||
if (stroke)
|
||||
TextActor.SetOutline(3.0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue