导入R3,简单实现数据绑定UI,以及双向绑定
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user