Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Light Lights;
- public Flare Flares;
- public void LightCont() {
- Lights = GetComponentsInChildren<Light>();
- if (Lights.light.enabled) {
- Lights.light.enabled = false;
- }
- else{
- Lights.light.enabled = true;
- }
- }
Add Comment
Please, Sign In to add comment