出現了如下錯誤:
Assets/scripts/Forest.cs(5,27): warning CS0649: Field `Forest.player' is never assigned to, and will always have its default value `null'
uj5u.com熱心網友回復:
Forest.player 沒有賦值,你要是公開的變數,在編輯器里賦下值,不是公開的,查找下player再賦值轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/56315.html
標籤:Unity3D
