docs: correct avatar picker test path
This commit is contained in:
@@ -157,7 +157,8 @@ Add this test:
|
||||
[Test]
|
||||
public void AvatarPickerJson_DeclaresAllAvatarButtons()
|
||||
{
|
||||
string jsonPath = System.IO.Path.Combine(Application.dataPath, "../Doc/UIPrefabCreater/UI_PlayerAvatarPicker.json");
|
||||
string projectRoot = System.IO.Directory.GetParent(Application.dataPath).Parent.FullName;
|
||||
string jsonPath = System.IO.Path.Combine(projectRoot, "Doc/UIPrefabCreater/UI_PlayerAvatarPicker.json");
|
||||
string json = System.IO.File.ReadAllText(jsonPath);
|
||||
|
||||
for (int avatarId = 1; avatarId <= PlayerAvatarCatalog.Count; avatarId++)
|
||||
|
||||
Reference in New Issue
Block a user