Add SetActive In Script For Layered Characters

Have an idea how we can improve the engine or this forum? Share it here!
Post Reply
Kuzai
Posts: 2
Joined: 10 Mar 2022 19:30
Contact:

Add SetActive In Script For Layered Characters

Post by Kuzai »

Hello I'd like to suggest a feature that would make scripting layered characters much easier.
I have layered characters with lots of layers and very specific layers that can only be on while others are off.

As you can imagine this is quite a headache to script with the current layered character scripting system, I would like
to suggest a "SetActive" system so we can turn on/off any layers we desire as a bool or such.

This would be much easier and would make having layered characters not such a hard process.

Thank you for taking the time to read my suggestion, Naninovel is super fun and easy to use, I hope my suggestion
will be considered.

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Add SetActive In Script For Layered Characters

Post by Elringus »

For such complex setups a state machine is recommended. You can make use of Unity's animator for that, make a custom one and integrate it with naninscript via script expressions/custom commands or pick something from the asset store.

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Add SetActive In Script For Layered Characters

Post by Elringus »

By the way, current system already allows turning layers off and on.

Post Reply