存储功能测试
This commit is contained in:
@@ -147,7 +147,7 @@ namespace AibisDream
|
||||
{
|
||||
if (_shaftGraph.AllNewGear())
|
||||
{
|
||||
DialogController.Instance?.SetVariable("$allNewGear", true);
|
||||
StorageSystem.Instance?.SetValue("$allNewGear", true);
|
||||
}
|
||||
DialogController.Instance?.StartDialogNode("AllGearsRunning");
|
||||
}
|
||||
@@ -157,7 +157,7 @@ namespace AibisDream
|
||||
{
|
||||
if (!_isTargetReached)
|
||||
{
|
||||
DialogController.Instance?.SetVariable("$speedReached", true);
|
||||
StorageSystem.Instance?.SetValue("$speedReached", true);
|
||||
_isTargetReached = true;
|
||||
}
|
||||
}
|
||||
@@ -166,7 +166,7 @@ namespace AibisDream
|
||||
{
|
||||
if (_isTargetReached)
|
||||
{
|
||||
DialogController.Instance?.SetVariable("$speedReached", false);
|
||||
StorageSystem.Instance?.SetValue("$speedReached", false);
|
||||
_isTargetReached = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user