Files
BeatSaber/Desktop/unity/work/BeatSabar/VRBeatSaber/Assets/Script/Cube.cs
T

10 lines
160 B
C#
Raw Normal View History

2026-04-30 14:00:10 +09:00
using UnityEngine;
public class Cube : MonoBehaviour
{
void Update()
{
transform.position += Time.deltaTime * transform.forward * 2;
}
}