map/Assets/Z ! M.O.B.A Environment Art Pack 2.0/Scripts/AutoRotary.cs

16 lines
220 B
C#
Raw Normal View History

2026-02-02 11:41:46 +00:00
using UnityEngine;
using System.Collections;
public class AutoRotary : MonoBehaviour {
public Vector3 vector;
void Start () {
}
void Update () {
transform.Rotate(vector*Time.deltaTime, Space.Self);
}
}