Eriknem

Untitled

Oct 23rd, 2016
317
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data