fix: load lobby characters from config
This commit is contained in:
@@ -70,6 +70,12 @@ namespace XGame
|
||||
|
||||
return GetDefault();
|
||||
}
|
||||
|
||||
public string GetPrefabPath(int figure)
|
||||
{
|
||||
CharacterConfigItem item = GetByFigure(figure);
|
||||
return item == null ? null : item.prefabPath;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
|
||||
Reference in New Issue
Block a user