feat():调整Level碰撞盒,添加Skybox,完成开始界面雏形

This commit is contained in:
2025-10-29 21:36:49 +08:00
parent 46ca997fc4
commit a126e84051
38 changed files with 24070 additions and 6362 deletions

View File

@@ -0,0 +1,24 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Script.Gameplay
{
public class StartMenuBallRotation : MonoBehaviour
{
[SerializeField] private float rotationSpeedY = 50f; // Y轴旋转速度
[SerializeField] private float rotationSpeedX = 15f; // X轴旋转速度
[SerializeField] private float rotationSpeedZ = 8f; // Z轴旋转速度
void Update()
{
// 多轴旋转
transform.Rotate(
rotationSpeedX * Time.deltaTime,
rotationSpeedY * Time.deltaTime,
rotationSpeedZ * Time.deltaTime,
Space.Self
);
}
}
}