karen_constantine

Untitled

Apr 10th, 2023
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class Rotator : MonoBehaviour
  6. {
  7. void Update()
  8. {
  9. transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime);
  10. }
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment