Files

10 lines
160 B
C#
Raw Permalink 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;
}
}