问答详情
源自:3-2 静态组件介绍-Unity3D角色控制

Assets/Scripts/Player.cs(9,31): warning CS0108: `Player.light' hides inherited member `UnityEngine.Component.light'. Use the new keyword if hiding was intended

Assets/Scripts/Player.cs(9,31): warning CS0108: `Player.light' hides inherited member `UnityEngine.Component.light'. Use the new keyword if hiding was intended

提问者:Librix0 2016-07-26 17:22

个回答

  • 我能吃玻璃
    2018-03-09 22:55:25

    将你的变量 “light”换个名字

  • 杨柳大帝
    2016-08-09 11:24:11

    灯光问题