forked from KSP-ModularManagement/ModuleManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMenu.12.cs
More file actions
37 lines (32 loc) · 783 Bytes
/
Copy pathMenu.12.cs
File metadata and controls
37 lines (32 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
This file is part of Module Manager /L
(C) 2020 Lisias T : http://lisias.net <support@lisias.net>
Module Manager /L is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
using UnityEngine;
using UGUI = UnityEngine.GUI;
namespace ModuleManager.GUI
{
#if KSP12
internal class Menu
{
private readonly ModuleManager parent;
private PopupDialog instance;
internal Menu(ModuleManager parent)
{
this.parent = parent;
}
internal void Dismiss()
{
this.instance.Dismiss();
this.instance = null;
}
internal void OnUpdate(bool inRnDCenter)
{
// TODO Make this work on KSP 1.2!
}
}
#endif
}