|
@@ -54,7 +54,7 @@ public class SettingMachineRoomData : MonoSingleton<SettingMachineRoomData>
|
|
|
|
|
|
public void Init(MachineRoomData data)
|
|
|
{
|
|
|
- editorBtnCanvas.SetActive(true);
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -208,4 +208,21 @@ public class SettingMachineRoomData : MonoSingleton<SettingMachineRoomData>
|
|
|
{
|
|
|
listSlider.maxValue = maxValue;
|
|
|
}
|
|
|
+
|
|
|
+ private float openEditor = 0;
|
|
|
+
|
|
|
+ public void EditorOpen()
|
|
|
+ {
|
|
|
+ openEditor++;
|
|
|
+
|
|
|
+ if(openEditor>6&& openEditor<10)
|
|
|
+ {
|
|
|
+ editorBtnCanvas.SetActive(true);
|
|
|
+
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ editorBtnCanvas.SetActive(false);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|