|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Lemon.GenericLib.VFX {
|
|
public class ConstantRotation : MonoBehaviour
|
|
{
|
|
public Vector3 rotationVector;
|
|
|
|
|
|
private void FixedUpdate()
|
|
{
|
|
|
|
transform.Rotate(rotationVector * Time.deltaTime);
|
|
}
|
|
}
|
|
}
|