Skip to content

Commit 74fd1db

Browse files
committed
update ksp parttools
1 parent 65d3f43 commit 74fd1db

File tree

107 files changed

+4662
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+4662
-127
lines changed

Unity/SCANsat/Assets/Images/BaseIcon.png.meta

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
104 Bytes
Binary file not shown.

Unity/SCANsat/Assets/Lib.meta

Lines changed: 0 additions & 9 deletions
This file was deleted.
-13.5 KB
Binary file not shown.

Unity/SCANsat/Assets/Lib/PartTools.dll.meta

Lines changed: 0 additions & 22 deletions
This file was deleted.
-140 KB
Binary file not shown.

Unity/SCANsat/Assets/Lib/PartToolsEditor.dll.meta

Lines changed: 0 additions & 22 deletions
This file was deleted.

Unity/SCANsat/Assets/PartTools.meta

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Unity/SCANsat/Assets/PartTools/Editor.meta

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
using UnityEngine;
2+
using UnityEditor;
3+
4+
[CustomEditor(typeof(KSPPartTools.InternalSpace))]
5+
public class InternalSpaceEditor : Editor
6+
{
7+
KSPPartTools.InternalSpaceInspector owner;
8+
9+
public InternalSpaceEditor()
10+
{
11+
owner = new KSPPartTools.InternalSpaceInspector(this);
12+
}
13+
14+
#region EditorInspector Methods
15+
16+
public override void OnInspectorGUI()
17+
{
18+
owner.OnInspectorGUI();
19+
}
20+
21+
public override bool HasPreviewGUI()
22+
{
23+
return owner.HasPreviewGUI();
24+
}
25+
26+
public override void OnPreviewGUI(Rect r, GUIStyle background)
27+
{
28+
owner.OnPreviewGUI(r, background);
29+
}
30+
31+
public override void OnPreviewSettings()
32+
{
33+
owner.OnPreviewSettings();
34+
}
35+
36+
#endregion
37+
}

0 commit comments

Comments
 (0)