移除废弃内容

This commit is contained in:
2026-02-21 23:32:12 +08:00
parent d953ea4b7a
commit 54c8439024
61 changed files with 11 additions and 6666 deletions

View File

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

View File

@@ -1,4 +1,5 @@
using NBF;
using NBC;
using NBF;
using Obi;
using UnityEngine;
@@ -27,8 +28,13 @@ public class Rope : MonoBehaviour
public void LineLength_OnValueChanged(float length)
{
cursor = cursor == null ? GetComponent<ObiRopeCursor>() : cursor;
var old = stretchScale;
stretchScale = Mathf.Clamp(length - percentageElasticity, 0f, float.PositiveInfinity);
// cursor.ChangeLength(length);
if (stretchScale != old)
{
Log.Info($"rope name={gameObject.name} stretchScale={stretchScale}");
}
}
private void Update()