手册数值改为占位符,渲染时从 Tuning 取值;加规则文件和测试
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
38f9ea9daf
commit
d28ca4e50c
6 files changed
+94
-3
No files matched your search
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using Decentralized.Domain;
|
||||
|
||||
namespace Decentralized
|
||||
{
|
||||
@@ -41,7 +42,7 @@ namespace Decentralized
|
||||
|
||||
public static void Open()
|
||||
{
|
||||
var chapters = L.T("guide.web3.text").Replace("¶", "\n\n").Split('§');
|
||||
var chapters = TuningText.Render(L.T("guide.web3.text")).Replace("¶", "\n\n").Split('§');
|
||||
if (_chapter >= chapters.Length) _chapter = 0;
|
||||
var b = CustomUIManager.Window(Id, L.T("item.web3guide.name"));
|
||||
if (b == null) return;
|
||||
|
||||
Reference in new issue
Block a user