18 lines
337 B
C#
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);
|
||
|
}
|
||
|
}
|
||
|
}
|