using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotateSky : MonoBehaviour { public float roateSpeed = 1.2f; void Update() { RenderSettings.skybox.SetFloat("_Rotation", Time.time * roateSpeed); } }