泄漏代碼:
解決代碼:
原因:
Texture2D總是值拷貝
Texture2D臨時變量不會被GC
返回值導(dǎo)致的無名“右值”臨時Texture2D變量不會被釋放
總結(jié):
砂幣Unity
湊圖: