fix:代码提交

This commit is contained in:
zhangjiajia
2026-03-03 11:30:53 +08:00
parent adf60cc8df
commit 21ebd4c951
2520 changed files with 178964 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookAt : MonoBehaviour
{
private GameObject Player;
private CameraRover cameraRover;
void Awake()
{
Player = GameObject.Find("Player");
if (Player != null)
{
// 获取 Player 上挂载的 CameraRover 脚本实例
cameraRover = Player.GetComponent<CameraRover>();
}
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnMouseDown() {
cameraRover.WebCallOpenItem("iconCameraBlue_1");
}
}