The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

+6 votes

In the inspector on every resource there is a property

Local To Scene

What does it do?

in Engine by (262 points)

1 Answer

+10 votes
Best answer

As far as I know it duplicates the resource at loading time of the game. Resources by default are shared between all scene instances. You will often encounter a situation in which you will want to modify resource property in runtime for a single object and you will see that all objects that are using given resource are changed instead (like when you would like to make enemy red at time of damaging him - but all enemies will become red instead).

by (1,299 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.