title: How to use UnitySingleton to save int value when changing scene?
body: <p>I'm new to the unity world. I created a soccer goal calculator, but when I change the scene and reopen it, the int value is resetting. Searching the web, I found that I need to use unitySingleton, but I don't understand how.</p>
  <p><strong>Can someone please help me understand how to implement unitySingleton</strong></p>
  <p>Thanks and sorry for my bad English.</p>