Remove debug statements

This commit is contained in:
2024-12-15 21:59:06 -06:00
parent dfd208ad6b
commit 5e6b07dfd7
3 changed files with 19 additions and 3 deletions

View File

@@ -41,8 +41,6 @@ public class Unit : MonoBehaviour
var unitAngle = planet.GetUnitAngle(this);
var targetDistance = (Mathf.Sin(BobbingOffset + Time.time) + 1) / 2;
targetDistance = Mathf.Lerp(0.35f, 0.8f, targetDistance);
if (TreeIndex == 0)
Debug.Log(targetDistance);
transform.position = planet.GetSurfacePosition(unitAngle, targetDistance);
planet.Tree.Points[TreeIndex] = transform.position;