aswi2021virtual-surreality-gitlab/deltarobot-vr/Assets/DeltaRobotVr/SetSkybox.cs @ 84a612eb
1 |
using System.Collections; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using UnityEngine; |
4 |
|
5 |
public class SetSkybox : MonoBehaviour |
6 |
{
|
7 |
// Start is called before the first frame update
|
8 |
public Material material; |
9 |
|
10 |
void Awake() |
11 |
{
|
12 |
RenderSettings.skybox = material; |
13 |
}
|
14 |
}
|