| 12345678910111213141516171819 | 
							- using System.Collections;
 
- using UnityEngine;
 
- namespace GFGGame
 
- {
 
-     public class AssetReleaser : MonoBehaviour
 
-     {
 
-         public string resPath;
 
-         private void OnDestroy()
 
-         {
 
-             if(!string.IsNullOrEmpty(resPath))
 
-             {
 
-                 GFGAsset.Release(resPath);
 
-             }
 
-         }
 
-     }
 
- }
 
 
  |