21 lines
325 B
C#
Raw Permalink Normal View History

2024-02-19 21:00:36 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DissolveExample
{
public class Rotator : MonoBehaviour
{
public float Speed;
public void Update()
{
transform.Rotate(Vector3.right, Speed * Time.deltaTime);
}
}
}