Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
 // Start is called before the first frame update
 void Start()
 {
     cleanSocks     = GameManager.cleanSocks;
     dirtySocks     = GameManager.dirtySocks;
     textClean.text = "x" + cleanSocks.ToString();
     textDirty.text = "x" + dirtySocks.ToString();
     if (instance == null)
     {
         instance = this;
     }
 }