Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class WW : MonoBehaviour {
- // Use this for initialization
- public float RotationSpeed;
- private float Exposure;
- public Slider mainSlider;
- public void SubmitSliderSetting ()
- {
- Debug.Log(mainSlider.value);
- }
- private float Rotation;
- void Start () {
- }
- // Update is called once per frame
- void Update () {
- RenderSettings.skybox.SetFloat("_Rotation", Rotation);
- Rotation += RotationSpeed;
- DynamicGI.UpdateEnvironment();
- }
- }
Add Comment
Please, Sign In to add comment