打開了一個塵封已久的Unity項目,突然發現日誌窗口顯示這樣一句錯誤:
Assets/Scripts/GameManager.cs(207,13): error CS0103: The name `Advertisement' does not exist in the current context
查了資料,是因爲Unity的插件沒有開啓,可以到Services裏開啓:Window---Services,如下所示即可:
打開了一個塵封已久的Unity項目,突然發現日誌窗口顯示這樣一句錯誤:
Assets/Scripts/GameManager.cs(207,13): error CS0103: The name `Advertisement' does not exist in the current context
查了資料,是因爲Unity的插件沒有開啓,可以到Services裏開啓:Window---Services,如下所示即可: