Advertisement
Eriknem

Untitled

Oct 23rd, 2016
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.20 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Rotator : MonoBehaviour {
  5.  
  6.     void Update ()
  7.     {
  8.         transform.Rotate (new Vector3 (15, 30, 45) * Time.deltaTime);
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement