新增相关协议
This commit is contained in:
14
Hotfix/Common/Helper/SceneConfigHelper.cs
Normal file
14
Hotfix/Common/Helper/SceneConfigHelper.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Fantasy;
|
||||
using Fantasy.Platform.Net;
|
||||
|
||||
namespace NB.Common;
|
||||
|
||||
public class SceneConfigHelper
|
||||
{
|
||||
public static SceneConfig GetConfig(int sceneType)
|
||||
{
|
||||
var gameSceneConfigs = SceneConfigData.Instance.GetSceneBySceneType(sceneType);
|
||||
|
||||
return gameSceneConfigs.First();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user