Last active
April 16, 2018 09:07
-
-
Save tsubaki/7179b8e9e2ae248e703b5063ef35097c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class SetShadowResoliution : MonoBehaviour { | |
public int resolution; | |
void Start () { | |
GetComponent<Light>().shadowCustomResolution = resolution; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment