// 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; } }