Rotater.cs 194 B

123456789101112
  1. using UnityEngine;
  2. using System.Collections;
  3. public class Rotater : MonoBehaviour {
  4. public float Speed;
  5. void Update () {
  6. this.transform.Rotate (0f, 1f * Speed, 0f, Space.Self);
  7. }
  8. }