欢迎大家关注我的日志,今天介绍下添加NPC名字和血条 //主摄像机对象 private Camera camera; //NPC名称 public string name; //主角对象 GameObject hero; //NPC模型高度 float npcHeight;