12 lines
226 B
C#
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);
|
||
|
}
|
||
|
}
|