This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
rabidus-test/Assets/ShaderGraph_Dissolve/Utility/Scripts/Rotator.cs

21 lines
325 B
C#
Raw Permalink Normal View History

2023-10-17 14:17:56 +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);
}
}
}