IT SAVES
I'M SAVED
This commit is contained in:
parent
5c416852d1
commit
67c9cc8e77
|
@ -510,7 +510,7 @@ namespace HeavenStudio.Editor
|
||||||
public string GetPropertiesJson()
|
public string GetPropertiesJson()
|
||||||
{
|
{
|
||||||
string json = string.Empty;
|
string json = string.Empty;
|
||||||
json = JsonConvert.SerializeObject(Properties.PropController.instance.properties);
|
json = JsonConvert.SerializeObject(Properties.Properties.instance);
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,8 @@ namespace HeavenStudio.Properties
|
||||||
public static Properties instance { get; private set; } = new Properties();
|
public static Properties instance { get; private set; } = new Properties();
|
||||||
|
|
||||||
//this is just copied from the beatmap lol
|
//this is just copied from the beatmap lol
|
||||||
public string levelName = "asdf";
|
public string levelName = "";
|
||||||
public string levelCreator = "testCreator";
|
public string levelCreator = "";
|
||||||
public int Number;
|
public int Number;
|
||||||
|
|
||||||
public object this[string propertyName]
|
public object this[string propertyName]
|
||||||
|
|
|
@ -2,6 +2,8 @@ using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
using HeavenStudio.Util;
|
||||||
|
|
||||||
namespace HeavenStudio.Properties
|
namespace HeavenStudio.Properties
|
||||||
{
|
{
|
||||||
public class RemixName : MonoBehaviour
|
public class RemixName : MonoBehaviour
|
||||||
|
@ -14,6 +16,7 @@ namespace HeavenStudio.Properties
|
||||||
{
|
{
|
||||||
Properties.instance.levelName = content;
|
Properties.instance.levelName = content;
|
||||||
Debug.Log(Properties.instance.levelName);
|
Debug.Log(Properties.instance.levelName);
|
||||||
|
RemixName.instance.content = Properties.instance.levelName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue