edx/assignment8final/Assets/ProtoPack/Scripts/RotateScript.cs

12 lines
155 B
C#
Raw Permalink Normal View History

2022-11-10 21:56:29 -03:00
using UnityEngine;
using System.Collections;
public class RotateScript : MonoBehaviour {
void Update () {
transform.Rotate (Vector3.up*5);
}
}