PowerSource.Start C# (CSharp) Method

Start() private method

private Start ( ) : void
return void
    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>();;
    }
PowerSource