Fisec/Assets/Scripts/Game03/Column.cs
Gerard Gascón 9afd57306d init
2025-04-24 14:20:42 +02:00

13 lines
280 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Column : MonoBehaviour{
public float speed;
// Update is called once per frame
void Update(){
transform.Translate(Vector3.left * speed * Time.deltaTime);
}
}