Advertisement
romanilyin

Untitled

Apr 25th, 2022
1,331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. using UnityEditor;
  2.  
  3. using UnityEngine;
  4.  
  5. public class AssetDatabaseTools : MonoBehaviour
  6. {
  7.   [MenuItem("Custom Tools/Force Reserialize All Assets")]
  8.   static void UpdateAssets()
  9.   {
  10.     AssetDatabase.ForceReserializeAssets();
  11.   }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement