unity-abgabe2/Assets/RotateSkybox.cs
2021-04-25 16:20:23 +02:00

12 lines
226 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateSkybox : MonoBehaviour
{
void Update()
{
RenderSettings.skybox.SetFloat("_Rotation",Time.time * 1.8f);
}
}