Jump to content

directional Light


burgelkat
 Share

Recommended Posts

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)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...