Add SetActive In Script For Layered Characters

Posted: 13 Mar 2022 23:35
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.


Re: Add SetActive In Script For Layered Characters

Posted: 14 Mar 2022 08:57
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.


Re: Add SetActive In Script For Layered Characters

Posted: 14 Mar 2022 08:58
by Elringus

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