今天启动很多天没有启动的Unity工程(之前使用的工程都是完好的),NGUI就出现了下面的错误。
主要错误是:
missing an assembly reference
错误:
Assets/NGUI/Scripts/Internal/NGUIText.cs(129,14): error CS1502: The best overloaded method match for `UnityEngine.Font.GetCharacterInfo(char, out UnityEngine.CharacterInfo, int, UnityEngine.FontStyle)' has some invalid arguments
Assets/NGUI/Scripts/Internal/NGUIText.cs(129,40): error CS1503: Argument `#2' cannot convert `out CharacterInfo' expression to type `out UnityEngine.CharacterInfo'
Assets/NGUI/Scripts/Internal/NGUIText.cs(133,16): error CS1502: The best overloaded method match for `UnityEngine.Font.GetCharacterInfo(char, out UnityEngine.CharacterInfo, int, UnityEngine.FontStyle)' has some invalid arguments
Assets/NGUI/Scripts/Internal/NGUIText.cs(133,42): error CS1503: Argument `#2' cannot convert &