官术网_书友最值得收藏!

Ding!

Hopefully, a little lightbulb has appeared above your head at this point. You may be wondering what else you see in that Inspector panel that you can get your grubby mitts on through code. Let's take a quick glance at what else is in that Mesh Renderer component:

  • A checkbox labeled Cast Shadows (this is a Unity Pro feature)
  • Another checkbox labeled Receive Shadows
  • Something a little more complicated involving Materials

Unless you're some kind of whiz kid, it's unlikely that you'll figure out how to fiddle with this stuff on your own. Let's take a trip to the Unity Language Reference to see what it tells us about the Renderer class.

主站蜘蛛池模板: 资兴市| 吉林省| 出国| 东港市| 巴楚县| 阳朔县| 木兰县| 盐亭县| 安康市| 庆云县| 陇南市| 即墨市| 雷波县| 藁城市| 建德市| 泸溪县| 当涂县| 甘洛县| 万全县| 武义县| 鄂州市| 湘潭县| 广东省| 舞钢市| 冀州市| 马关县| 汝南县| 江源县| 财经| 宁强县| 勐海县| 山东| 比如县| 安宁市| 南安市| 二连浩特市| 古蔺县| 临颍县| 中江县| 江川县| 隆尧县|