变量模块;Element启用控制
This commit is contained in:
@@ -36,6 +36,10 @@ namespace Ichni
|
||||
|
||||
public NoteBase.NoteJudgeType currentJudgeType;
|
||||
public BasePrefabsCollection basePrefabs;
|
||||
|
||||
[Title("Runtime Global Elements")]
|
||||
public VariablesContainer variablesContainer;
|
||||
public BackgroundSetter backgroundSetter;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -109,6 +113,11 @@ namespace Ichni
|
||||
new List<string>(), true, null, false,
|
||||
"basic", "Skybox", "Background"));
|
||||
|
||||
var generateVariablesContainerButton =
|
||||
inspector.GenerateButton(this, container, "Generate Variables Container",
|
||||
() => VariablesContainer.GenerateElement("Variables Container", Guid.NewGuid(),
|
||||
new List<string>(), true, null, new Dictionary<string, int>()));
|
||||
|
||||
projectInformation.SetUpInspector();
|
||||
songInformation.SetUpInspector();
|
||||
cameraManager.SetUpInspector();
|
||||
|
||||
Reference in New Issue
Block a user