Mobile Lighting Box (NextGen Mobile Lighting) 1.1报错解决方法【2020】
安装Mobile Lighting Box (NextGen Mobile Lighting) 1.1时会出现下列8个报错(如下图所示):
1.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_MobileLightingBox.cs(11,7): error CS0246: The type or namespace name ‘UnityStandardAssets’ could not be found (are you missing a using directive or an assembly reference?);
2.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_MobileLightingBoxHelper.cs(14,7): error CS0246: The type or namespace name ‘UnityStandardAssets’ could not be found (are you missing a using directive or an assembly reference?);
3.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_MobileLightingProfile.cs(4,7): error CS0246: The type or namespace name ‘UnityStandardAssets’ could not be found (are you missing a using directive or an assembly reference?);
4.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_Settings.cs(14,7): error CS0246: The type or namespace name ‘UnityStandardAssets’ could not be found (are you missing a using directive or an assembly reference?);
5.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_MobileLightingBoxHelper.cs(548,62): error CS0246: The type or namespace name ‘SunShafts’ could not be found (are you missing a using directive or an assembly reference?);
6.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_MobileLightingBox.cs(23,9): error CS0246: The type or namespace name ‘SunShafts’ could not be found (are you missing a using directive or an assembly reference?);
7.Assets\MobileLightingBox11\MobileLightingBox\Scripts\LB_MobileLightingProfile.cs(79,9): error CS0246: The type or namespace name ‘SunShafts’ could not be found (are you missing a using directive or an assembly reference?);
8.Assets\MobileLightingBox11\MobileLightingBox\PinchZoom.cs(8,9): warning CS0108: ‘PinchZoom.camera’ hides inherited member ‘Component.camera’. Use the new keyword if hiding was intended.

报错的原因是缺少“Legacy Image Effects(传统图像效果)“插件,解决方法是安装“Legacy Image Effects.unitypackage”插件,但官方已停止提供这个插件的下载,如果需要,可V询(qtpl_wx)小姐姐来索取。也可去关注小姐姐的《视频教程》,或阅读小姐姐的其他更多案例文章。
浙公网安备 33010602011771号