Skip to content

Commit a3bf929

Browse files
committed
テスト用データを追加
1 parent 01a4c9d commit a3bf929

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

CommandForgeGenerator.SandBox/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ private static void Main(string[] args)
1212
var json = GetJson();
1313
var loader = CommandForgeLoader.LoadCommands(json);
1414

15-
if (loader.Count == 152)
15+
if (loader.Count == 12)
1616
{
17-
Console.WriteLine(loader.Count == 152 ? "OK" : "NG");
17+
Console.WriteLine("OK");
1818
}
1919
else
2020
{

CommandForgeGenerator.SandBox/SampleProject/commands.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ commands:
1414
multiline: true
1515
required: true
1616

17+
- id: characterPosition
18+
label: カメラ位置
19+
description: カメラ位置
20+
commandListLabelFormat: "カメラ移動 {position}"
21+
properties:
22+
position:
23+
type: vector3
24+
required: true
25+
1726
- id: emote
1827
label: エモート
1928
description: 立ち絵・表情切替

CommandForgeGenerator.SandBox/SampleProject/skits/sample_skit.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
"type": "wait",
7474
"seconds": 0.5,
7575
"backgroundColor": "#57e317"
76+
},
77+
{
78+
"id": 100,
79+
"type": "characterPosition",
80+
"position": [0, 10.5 , 0]
7681
}
7782
]
7883
}

0 commit comments

Comments
 (0)