Hi there, I have two questions about active saver, could you please help me figure it out?Thank you very much!
1. I want to chage the active/inactive state of a gameobject's child object during the conversations, I tried to add active saver component to itself/its father/another object, but still not work, how should I set the saver?
2.There is a panel with Canvas Group component in my game, this panel is not interactable at the beginning, and it will become interactable after a conversation, how could I save its interactable state?
Two questions about active saver
Re: Two questions about active saver
Hi,
Note: If the GameObject itself is the conversation's actor or conversant, the SetActive() sequencer command won't allow you to deactivate it.
Only put the Active Saver on the GameObject if the GameObject starts active in the scene on load. Otherwise put it on a different GameObject and assign the original GameObject to the Active Saver's Target field.Lucian1899 wrote: ↑Thu Mar 06, 2025 8:20 am1. I want to chage the active/inactive state of a gameobject's child object during the conversations, I tried to add active saver component to itself/its father/another object, but still not work, how should I set the saver?
Note: If the GameObject itself is the conversation's actor or conversant, the SetActive() sequencer command won't allow you to deactivate it.
If you enable/disable the CanvasGroup component, use an EnabledSaver to save its enabled/disabled state.Lucian1899 wrote: ↑Thu Mar 06, 2025 8:20 am2.There is a panel with Canvas Group component in my game, this panel is not interactable at the beginning, and it will become interactable after a conversation, how could I save its interactable state?
-
- Posts: 20
- Joined: Wed Dec 13, 2023 9:23 am
Re: Two questions about active saver
Got it! Thanks so much, problem solved!
Re: Two questions about active saver
Great! Happy to help.