在Unity中为Android构建时出现错误CS0012

时间:2019-01-24 18:57:39

标签: c# android unity3d

我已经准备好进行游戏,并且在构建时遇到CS0012错误。

error CS0012: The type 'UnityEngine.MonoBehavior' is defined 
in an assembly that is not referenced. Consider adding a reference to assembly 
'UnityEngine, Version=0.0.0.0,Culture=neutral,PublicKeyTiken=null'

我正在使用Unity 2018.1.9f1,使用Scripting Runtime Version .NET 4.x等效版本构建Android 8.0,Scripting Backend是Mono,API兼容级别是.NET 4.x

0 个答案:

没有答案