burgelkat Posted May 17, 2016 Share Posted May 17, 2016 Hallo, i need some help. I build a Script with release the existing (from scene root) directional light and after this the script created a new one with another light color (evening ambiente). What should I do , so that the light generated by script and by pressing a different scripts , the color changes or the light is also quite released (for night ambiente)? I hope you can follow my question thanks for any help. Edit: directionallight:Release() (But first I have to specify the direcitonallight in the other script) Quote Link to comment Share on other sites More sharing options...
burgelkat Posted May 17, 2016 Author Share Posted May 17, 2016 Solved Edit: directionallight:Release() (But first I have to specify the direcitonallight in the other script) 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.