TheKingsRace/Assets/Scripts/Spin.cs
Vincent Wheat 33a20e03bb Fixed Spawning In Scene
Fixed spawn locations on the new platform
Increased rotate spin speed
Moved spawn platform
Made spin bumpers triggers
2022-04-27 17:14:30 -05:00

15 lines
294 B
C#

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