1 |
84a612eb
|
kovi
|
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 |
|
|
}
|