better level
This commit is contained in:
1 parent
a925c191e2
commit
4a8a8ae916
40 files changed
+8471
-143
No files matched your search
@@ -0,0 +1,10 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Code.Gameplay.Level
|
||||
{
|
||||
public class MovingObstacle : MonoBehaviour
|
||||
{
|
||||
public float speed = 5f;
|
||||
private void Update() => transform.Translate(Vector3.forward * (speed * Time.deltaTime));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user