LLMUnity icon indicating copy to clipboard operation
LLMUnity copied to clipboard

Add DontDestroyOnLoad to the LLM component

Open SubatomicPlanets opened this issue 9 months ago • 1 comments

Describe the feature

I think that adding DontDestroyOnLoad to the LLM component makes a lot of sense. The LLM component behaves like a manager, and most managers persist throughout the entire game, regardless of which scene the player is in.

This could also be a setting in the component itself.

I think this would especially make sense if #151 is implemented.

In my project, I have created a new script which calls DontDestroyOnLoad on the gameObject. This works and is easy, but i think it would be better if I didn't have to create a script to do this.

SubatomicPlanets avatar May 14 '24 17:05 SubatomicPlanets