Skip to content

Commit

Permalink
又是一大堆的配置更新
Browse files Browse the repository at this point in the history
  • Loading branch information
boybook committed Feb 7, 2024
1 parent dbec83f commit 91a1a65
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
5 changes: 1 addition & 4 deletions ecnpc/container.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@
"$ref": "prefab.schema.json"
}
}
},
"required": [
"npc"
]
}
}
},
"if": {
Expand Down
12 changes: 11 additions & 1 deletion ecnpc/prefab.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,17 @@
]
},
"animation": {
"type": "string"
"description": "指定NPC的动画(只有human类型有效;只有循环播放类的才会生效)",
"oneOf": [
{
"type": "string",
"description": "覆盖玩家的base_pose"
},
{
"type": "object",
"description": "手动指定需要覆盖的玩家动画,详见原生材质包中的player.entity.json"
}
]
},
"id": {
"type": "string",
Expand Down

0 comments on commit 91a1a65

Please sign in to comment.