Advertisement
CakeMeister

3d ball item phan 4

Jul 20th, 2017
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class item : MonoBehaviour {
  6.  
  7.     // Update is called once per frame
  8.     void Update () {
  9.         transform.Rotate(new Vector3(45, 45, 45) * Time.deltaTime);
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement