超大量的更新 修复很多问题,gameplay特效初步

This commit is contained in:
FloatGaming
2026-02-14 23:46:20 +08:00
parent ef8eb67259
commit 3a7a0b4669
360 changed files with 85670 additions and 4144 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
using System.Diagnostics;
using System.Diagnostics;
using UnityEngine;
public class LaunchH5 : MonoBehaviour
{
public RectTransform panel; // 绑定 Panel
public string hostPath = "WebView2Host/WebView2Host.exe"; // Host.exe 相对路径
public RectTransform panel; // Documentation text normalized.
public string hostPath = "WebView2Host/WebView2Host.exe"; // Documentation text normalized.
void Start()
{
@@ -13,7 +13,7 @@ public class LaunchH5 : MonoBehaviour
Vector3[] corners = new Vector3[4];
panel.GetWorldCorners(corners);
int x = Mathf.RoundToInt(corners[0].x);
int y = Mathf.RoundToInt(Screen.height - corners[1].y); // Unity 左下原点 -> Win32 左上原点
int y = Mathf.RoundToInt(Screen.height - corners[1].y); // Documentation text normalized.
int width = Mathf.RoundToInt(panel.rect.width);
int height = Mathf.RoundToInt(panel.rect.height);