UPF/Assets/Game/Scripts/Rotator.cs
2023-02-24 22:14:55 +05:30

14 lines
249 B
C#
Executable File

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotator : MonoBehaviour
{
public Vector3 rotationVector;
void Update()
{
transform.Rotate(rotationVector);
}
}