[Unity脚本优化] Optimizing garbage collection in Unity games
IntroductionWhenourgameruns,itusesmemorytostoredata.Whenthisdataisnolongerneeded,thememorythatstoredthatdataisfreedupsothatitcanbereused.Garbageisthetermformemorythathasbeensetasidetostoredatabutisnol