PlaneRun/Assets/Scripts/rotorRotation.cs

22 lines
345 B
C#

using System.Collections;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Threading;
using UnityEngine;
public class rotorRotation : MonoBehaviour
{
public float speed;
void Start()
{
}
void Update()
{
transform.Rotate(0, speed * Time.deltaTime, 0);
}
}