unity對象池

參考另外一篇 this 避免了重複建立對象,而將對象放入一個List中(池裏面),獲取顯示隱藏等方法來處理,提升執行效率.net 大概截圖:相似捕魚達人的democode 1 建立腳本,旋轉大炮,按鈕按下,調用對象池開始操做建立對象,顯示隱藏對象orm using UnityEngine; using System.Collections; public class SpawnFire : Mo
相關文章
相關標籤/搜索