14 lines
294 B
C#
14 lines
294 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Rotate : MonoBehaviour
|
|
{
|
|
// Update is called once per frame
|
|
public float m_Speed;
|
|
void Update()
|
|
{
|
|
this.transform.Rotate(0, -Time.fixedDeltaTime * m_Speed, 0, Space.World);
|
|
}
|
|
}
|