blob: 7a0306a257d854f840112659d038fe7388132c2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
using UnityEngine;
public class SlowRotate : MonoBehaviour
{
[SerializeField]
private Vector3 rotation;
private void Update()
{
base.transform.localEulerAngles += rotation * Time.deltaTime;
}
}
|