Esempio n. 1
0
        private void OnGUI()
        {
            using (new EditorGUILayout.VerticalScope(GUI.skin.box))
            {
                if (GUILayout.Button("Force Reserialize All Assets"))
                {
                    ForceReserializeAssetsUtils.ForceReserializeAllAssets();
                }

                if (GUILayout.Button("Force Reserialize Selected Assets"))
                {
                    ForceReserializeAssetsUtils.ForceReserializeSelectedAssets();
                }
            }
        }
 private static void ForceReserializeAll()
 {
     ForceReserializeAssetsUtils.ForceReserializeAllAssets();
 }
 private static void ForceReserializeSelected()
 {
     ForceReserializeAssetsUtils.ForceReserializeSelectedAssets();
 }