TheKingsRace/Assets/Scripts/Spin.cs
Vincent Wheat 6a8b1a6680 Updates
-Textured Terrain
-Adjusted Height over track
-added more obstacles
2021-12-10 17:20:28 -06:00

15 lines
293 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spin : MonoBehaviour
{
Vector3 rotation = new Vector3(0.0f, .5f, 0.0f);
// Update is called once per frame
void Update()
{
this.gameObject.transform.Rotate(rotation);
}
}