void Start() { Color x = Color.red; while (usedColors.Contains(x)) { Vector3 r = Random.insideUnitSphere; x = new Color(r.x, r.y, r.z); } usedColors.Add(x); wireColor = x; ConnectedEquipments = new HashSet<Equipment>();; }