正在为RScript更新内容(已通过编译)
This commit is contained in:
@@ -37,7 +37,6 @@ namespace Demo.Game
|
||||
/// 值为null时不会在启动时打开
|
||||
/// </summary>
|
||||
public string WhichOpenProject { get; private set; } = null;
|
||||
public ProjectDefaultFileStyle CurrentProjectDefaultFileStyle = default;
|
||||
|
||||
public float SongOffset = 0;
|
||||
public float CurrentTime = 0;
|
||||
@@ -174,7 +173,6 @@ namespace Demo.Game
|
||||
Debug.LogException(ex, this);
|
||||
}
|
||||
}
|
||||
CurrentProjectDefaultFileStyle = content.CurrentProjectDefaultFileStyle;
|
||||
}
|
||||
|
||||
|
||||
@@ -186,11 +184,7 @@ namespace Demo.Game
|
||||
{
|
||||
while (MainConfig.Contains("root") == false)
|
||||
{
|
||||
string defaultRootPath = "root" + CurrentProjectDefaultFileStyle switch
|
||||
{
|
||||
ProjectDefaultFileStyle.PY => ".py",
|
||||
_ => ".cpp"
|
||||
};
|
||||
string defaultRootPath = "root.cpp";
|
||||
if (content.IsCreateNewProject)
|
||||
{
|
||||
MainConfig["root"] = defaultRootPath;
|
||||
|
||||
Reference in New Issue
Block a user