Beispiel #1
0
    public static SkyboxSetter GetSkyboxSetter(Material imgMat, Material vidMat, VideoPlayer vidPlay, Image blindImg)
    {
        if (singleton == null)
        {
            singleton = new SkyboxSetter(imgMat, vidMat, vidPlay, blindImg);
        }

        return(singleton);
    }
Beispiel #2
0
 public override void Display()
 {
     SkyboxSetter.Get().SetSkybox(video);
     DrawArrows();
 }