Hi, I'm making an editor for the design of online board games. I assumed I could put it in the various games of paper-type objects. I have a problem I can not solve. By a check-box each user of my application before entering playmode can select whether the cards can be double face. When I start the application but in configuration mode I can set this option to true, but when switching to playmode, this option is set to false. I tried using a serializable field, but I could not fix it. The code used is the following:
[CODE]
EditorGUILayout.Space();
secondFace = GUILayout.Toggle(secondFace, " Double Side");
[/CODE]
Someone has some suggestions to give me. Thank you.
↧