ok so it doesnt save but it...might load?
once again i have no idea. thanks for the hemp tho, huantian!
This commit is contained in:
parent
8649e12908
commit
95cc8a700c
|
@ -512,7 +512,7 @@ namespace HeavenStudio.Editor
|
||||||
public string GetPropertiesJson()
|
public string GetPropertiesJson()
|
||||||
{
|
{
|
||||||
string json = string.Empty;
|
string json = string.Empty;
|
||||||
json = JsonConvert.SerializeObject(GameManager.instance.Beatmap);
|
json = JsonConvert.SerializeObject(PropController.instance.properties);
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace HeavenStudio.Editor
|
||||||
{
|
{
|
||||||
public static PropController instance { get; private set; } = new PropController();
|
public static PropController instance { get; private set; } = new PropController();
|
||||||
|
|
||||||
public Properties properties;
|
public Properties properties = new Properties();
|
||||||
|
|
||||||
public void LoadProperties(string json = "")
|
public void LoadProperties(string json = "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue