RiftMayhem/Assets/Scripts/VisualEffects/AxeThrowRotationFX.cs

15 lines
314 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AxeThrowRotationFX : MonoBehaviour
{
public float rotationSpeed = 30f;
// Update is called once per frame
void Update()
{
transform.Rotate(Vector3.right * rotationSpeed * Time.deltaTime);
}
}