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

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.

主站蜘蛛池模板: 揭东县| 黑水县| 阳朔县| 灌阳县| 龙井市| 迁安市| 皋兰县| 潮州市| 辉南县| 高淳县| 灵川县| 吉木乃县| 宜宾市| 周口市| 定兴县| 申扎县| 博爱县| 高碑店市| 吴旗县| 界首市| 深州市| 利辛县| 普安县| 大姚县| 阳原县| 自贡市| 金昌市| 贡觉县| 天水市| 苗栗市| 迭部县| 平远县| 双流县| 辉县市| 应城市| 遵义县| 凤山市| 永福县| 寿宁县| 通辽市| 中卫市|