Projekt

Obecné

Profil

Stáhnout (292 Bajtů) Statistiky
| Větev: | Tag: | Revize:
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
}
(8-8/15)