错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Basic Hazards

  • Casey Hardman

摘要

Now that our player can be killed, let’s start coding up some villainy to kill them. We’ll make a generic script called Hazard that makes a GameObject kill the player on touch. We’ll use this to create dangerous projectiles and an obstacle type that periodically fires them.