This commit is contained in:
RochesterX
2025-04-16 19:57:54 -04:00
parent 5dee952cad
commit 6b7dbea593
2474 changed files with 244001 additions and 14116 deletions

View File

@@ -1,4 +1,6 @@
using UnityEngine;
using UnityEngine; using Game; using Music; using Player;
namespace Game
{
public class MovingPlatform : MonoBehaviour
{
@@ -28,4 +30,4 @@ public class MovingPlatform : MonoBehaviour
// transform.position = Vector2.MoveTowards(transform.position, points[i].position, speed * Time.deltaTime);
GetComponent<Rigidbody2D>().MovePosition(Vector2.MoveTowards(transform.position, points[i].position, speed * Time.fixedDeltaTime));
}
}
}}