Skip to content
PhaxeNor edited this page Apr 9, 2020 · 15 revisions

Spinning Cube

using UnityEngine;
using UdonSharp;

public class RotatingCubeBehaviour : UdonSharpBehaviour
{
    private void Update()
    {
        transform.Rotate(Vector3.up, 90f * Time.deltaTime);
    }
}