error CS0103: The name `Advertisement' does not exist in the current context

打開了一個塵封已久的Unity項目,突然發現日誌窗口顯示這樣一句錯誤:

Assets/Scripts/GameManager.cs(207,13): error CS0103: The name `Advertisement' does not exist in the current context
 

查了資料,是因爲Unity的插件沒有開啓,可以到Services裏開啓:Window---Services,如下所示即可:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章