Guest User

Untitled

a guest
Apr 20th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. public class SetShadowResoliution : MonoBehaviour {
  4. public int resolution;
  5.  
  6. void Start () {
  7. GetComponent<Light>().shadowCustomResolution = resolution;
  8. }
  9. }
Add Comment
Please, Sign In to add comment