mirror of
https://github.com/BepInEx/TestGame.git
synced 2026-11-21 07:29:25 -10:00
10 lines
185 B
C#
10 lines
185 B
C#
using UnityEngine;
|
|
|
|
public class RotatingCubeBehaviour : MonoBehaviour
|
|
{
|
|
private void Update()
|
|
{
|
|
transform.Rotate(new Vector3(180, 180, 0) * Time.deltaTime);
|
|
}
|
|
}
|