輸出不了所有的卡牌
運行后,顯示下面的錯誤:
NullReferenceException: Object reference not set to an instance of an object
GameMain.LoadLevelCard(Int32 width, Int32 height)(at Assets/Script/GameMain.cs: 72)
第72行:int maxCount = Mathf.Max(contentRoot.childCount, needShowCardList.Count);
無法出現Resources里的圖片。之前在第4步顯示卡牌到UI上?,都測試可以成功。這是為什么呢?
2018-06-28
請問成功了嗎,我也是敗在了這個錯誤上……
2018-06-05
可能網絡故障