File tree Expand file tree Collapse file tree 6 files changed +21
-8
lines changed Expand file tree Collapse file tree 6 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 1
1
using System . Collections ;
2
2
using UnityEngine ;
3
3
4
+ #if CATS
4
5
namespace ModuleManager . Cats
5
6
{
6
7
class CatAnimator : MonoBehaviour
@@ -36,3 +37,4 @@ IEnumerator Animate()
36
37
}
37
38
}
38
39
}
40
+ #endif
Original file line number Diff line number Diff line change 2
2
using UnityEngine ;
3
3
using K = KSPe . Util . Log ;
4
4
5
+ #if CATS
5
6
namespace ModuleManager . Cats
6
7
{
7
8
public static class CatManager
@@ -122,3 +123,4 @@ private static GameObject LaunchCat(int scale)
122
123
internal static readonly K . Logger LOG = K . Logger . CreateForType < CatAnimator > ( true ) ;
123
124
}
124
125
}
126
+ #endif
Original file line number Diff line number Diff line change 1
1
using System . Collections ;
2
2
using UnityEngine ;
3
3
4
+ #if CATS
4
5
namespace ModuleManager . Cats
5
6
{
6
7
public class CatMover : MonoBehaviour
@@ -77,3 +78,4 @@ void Update()
77
78
78
79
}
79
80
}
81
+ #endif
Original file line number Diff line number Diff line change 4
4
using UnityEngine ;
5
5
using Random = UnityEngine . Random ;
6
6
7
+ #if CATS
7
8
namespace ModuleManager . Cats
8
9
{
9
10
class CatOrbiter : MonoBehaviour
@@ -134,3 +135,4 @@ void FixedUpdate()
134
135
}
135
136
}
136
137
}
138
+ #endif
Original file line number Diff line number Diff line change 7
7
using System . Reflection ;
8
8
using TMPro ;
9
9
using UnityEngine ;
10
+ #if CATS
10
11
using ModuleManager . Cats ;
12
+ #endif
11
13
using ModuleManager . Extensions ;
12
14
using ModuleManager . Logging ;
13
15
@@ -157,14 +159,14 @@ internal void Awake()
157
159
private TextMeshProUGUI errors ;
158
160
private TextMeshProUGUI warning ;
159
161
160
-
161
162
private void Start ( )
162
163
{
164
+ #if CATS
163
165
if ( nCats )
164
166
CatManager . LaunchCats ( ) ;
165
167
else if ( nyan )
166
168
CatManager . LaunchCat ( ) ;
167
-
169
+ #endif
168
170
Canvas canvas = LoadingScreen . Instance . GetComponentInChildren < Canvas > ( ) ;
169
171
170
172
status = CreateTextObject ( canvas , "MMStatus" ) ;
Original file line number Diff line number Diff line change 111
111
<ItemGroup >
112
112
<Reference Include =" System" />
113
113
<Reference Include =" System.Drawing" />
114
+ <Reference Include =" KSPe" >
115
+ <HintPath >..\..\..\..\..\..\LIB\plugins\KSPe.dll</HintPath >
116
+ </Reference >
114
117
<Reference Include =" Assembly-CSharp" >
115
- <HintPath >..\..\..\..\..\..\LIB\managed\1.4 .1\Assembly-CSharp.dll</HintPath >
118
+ <HintPath >..\..\..\..\..\..\LIB\managed\1.3 .1\Assembly-CSharp.dll</HintPath >
116
119
</Reference >
117
120
<Reference Include =" UnityEngine.UI" >
118
- <HintPath >..\..\..\..\..\..\LIB\managed\1.4 .1\UnityEngine.UI.dll</HintPath >
121
+ <HintPath >..\..\..\..\..\..\LIB\managed\1.3 .1\UnityEngine.UI.dll</HintPath >
119
122
</Reference >
120
123
<Reference Include =" UnityEngine" >
121
- <HintPath >..\..\..\..\..\..\LIB\managed\1.4.1\UnityEngine.dll</HintPath >
122
- </Reference >
123
- <Reference Include =" KSPe" >
124
- <HintPath >..\..\..\..\..\..\LIB\plugins\KSPe.dll</HintPath >
124
+ <HintPath >..\..\..\..\..\..\LIB\managed\1.3.1\UnityEngine.dll</HintPath >
125
125
</Reference >
126
126
</ItemGroup >
127
127
<ItemGroup >
173
173
<ItemGroup >
174
174
<None Include =" Properties\rainbow2.png" />
175
175
</ItemGroup >
176
+ <ItemGroup >
177
+ <Folder Include =" Cats\" />
178
+ </ItemGroup >
176
179
<Import Project =" $(MSBuildBinPath)\Microsoft.CSharp.targets" />
177
180
<PropertyGroup >
178
181
<PostBuildEvent ></PostBuildEvent >
You can’t perform that action at this time.
0 commit comments