private void ApplyAllLayers()
        {
            foreach (var layer in VarwinUnitySettings.Layers)
            {
                VarwinUnitySettings.SetLayer(layer.Key, layer.Value);
            }

            VarwinUnitySettings.Save();
        }
        public void DrawLayersList()
        {
            int count = VarwinUnitySettings.Layers.Count(x => (!string.Equals(VarwinUnitySettings.GetLayer(x.Key), x.Value)));

            if (count > 0)
            {
                EditorGUILayout.Space();

                GUILayout.Label("Layers:");

                var layerButtonStyle = new GUIStyle(EditorStyles.miniButtonLeft);

                foreach (var layer in VarwinUnitySettings.Layers)
                {
                    if (!string.Equals(VarwinUnitySettings.GetLayer(layer.Key), layer.Value))
                    {
                        if (GUILayout.Button($"Set Layer{layer.Key} as \"{layer.Value}\"", layerButtonStyle))
                        {
                            VarwinUnitySettings.SetLayer(layer.Key, layer.Value);
                            VarwinUnitySettings.Save();
                        }
                    }
                }

                if (count > 1)
                {
                    EditorGUILayout.Space();

                    if (GUILayout.Button($"Apply all layers"))
                    {
                        ApplyAllLayers();
                    }
                }

                EditorGUILayout.Space();
            }
        }
 private void ApplyAllTags()
 {
     VarwinUnitySettings.SetupTags();
     VarwinUnitySettings.Save();
 }