- Home /
Toggle not work in next scene
in main scene toggle work. When i load next scene it not work (still in view but not available, like picture). If i go back in main scene - toggle work again.
I make toggle: GameObject->UI->Toggle.
in toggle use script:
public static Toggle
instance = null;
void Awake ()
{
if(instance!=null)
{
Destroy(gameObject);
}
instance = this;
DontDestroyOnLoad (gameObject);
}
Im new in dev, please help..
Comment
Best Answer
Answer by Krigo · Sep 08, 2015 at 05:24 PM
solved by myself. In next scene must add "EventSystem": Create GameObject->UI->Toggle and delete canvas. mayby ugly, but work)
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Make a Button Behave Like a Toggle 5 Answers
One variable set TRUE when another must be false. TOGGLE 3 Answers
Using an Enum for GUI.Toggle? 1 Answer