导入R3,简单实现数据绑定UI,以及双向绑定

This commit is contained in:
2025-11-05 05:16:06 +08:00
parent 1ccc7f299d
commit c5c380d170
137 changed files with 6900 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ public class PatchWindow : MonoBehaviour
public VideoPlayer video;
private void Awake()
{
video.targetCamera = GameManager.Inst.UICamera;
video.targetCamera = MainUICanvas.Inst.UICamera;
PatchEvent.OnStatusUpdate += OnStatusUpdate;
PatchEvent.OnProgressUpdate += OnProgressUpdate;
PatchEvent.OnDownloadSizeUpdate += OnDownloadSizeUpdate;