修改脚本

This commit is contained in:
2026-03-22 09:33:56 +08:00
parent 1e1fec02cd
commit ba5da38dde
127 changed files with 31514 additions and 22327 deletions

View File

@@ -86,7 +86,7 @@ public class SceneSettings : MonoBehaviour
private void UpdateTimeOfDay()
{
var p = GameTimer.GetGameDayProgress();
// p = 0;
p = 0.5f;
// Debug.Log(p);
EnviroManager.instance.Time.SetTimeOfDay(p * 24f);
// if(AzureCoreSystem)

View File

@@ -0,0 +1,23 @@
using System;
using UnityEngine;
namespace NBF
{
public class SetTransform : MonoBehaviour
{
public Vector3 targetPos = new Vector3(0, 0, 0);
public Vector3 targetAngles = new Vector3(0, 0, 0);
public void Start()
{
targetPos = transform.localPosition;
targetAngles = transform.localEulerAngles;
}
private void LateUpdate()
{
transform.localPosition = targetPos;
transform.localEulerAngles = targetAngles;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: a38b7c15293e4a559f5ab9110a089d4c
timeCreated: 1774091684