Advertisement
MrsMcLead

Rotator, Roll A Ball

Jan 31st, 2018
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class Rotator : MonoBehaviour {
  6.  
  7.     // Use this for initialization
  8.     void Start () {
  9.        
  10.     }
  11.    
  12.     // Update is called once per frame
  13.     void Update () {
  14.         transform.Rotate (new Vector3 (15, 30, 45) * Time.deltaTime);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement