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