13 lines
276 B
C#
13 lines
276 B
C#
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
public class BF_Rotator : MonoBehaviour
|
|||
|
|
{
|
|||
|
|
public float RotSpeed = 1;
|
|||
|
|
void Update()
|
|||
|
|
{
|
|||
|
|
this.transform.Rotate(new Vector3(0, RotSpeed*Time.deltaTime, 0), Space.World);
|
|||
|
|
}
|
|||
|
|
}
|