2023-01-24 21:51:46 +08:00

18 lines
337 B
C#

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);
}
}
}