public Sprite GetSpecificBrickSprite(BrickColor _color) { if (_color == BrickColor.None) //If none color than dont try to find anything { Debug.LogWarning("Tried to get Color NONE"); return(brickSprites[0]); } if (brickDictionairy.TryGetValue(_color, out Sprite value)) { return(value); } else { Debug.LogWarning("Tried to get Color: " + _color.ToString()); return(brickSprites[0]); } }