Skip to content

Commit

Permalink
Upgraded to 2018.1 and added assembly def files
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenation committed May 6, 2018
1 parent 508b388 commit 49a9c3a
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Assets/Xenon/Editor/Scripts/Essentials.cs
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,18 @@ private void SceneRepaint(SceneView view) {
}

private void SwitchRenderMode(SceneView sceneView) {
switch (sceneView.renderMode) {
SceneView.CameraMode camMode;
camMode = sceneView.cameraMode;
switch (camMode.drawMode) {
default:
case DrawCameraMode.Textured:
sceneView.renderMode = DrawCameraMode.TexturedWire;
camMode.drawMode = DrawCameraMode.TexturedWire;
break;
case DrawCameraMode.TexturedWire:
sceneView.renderMode = DrawCameraMode.Textured;
camMode.drawMode = DrawCameraMode.Textured;
break;
}
sceneView.cameraMode = camMode;
sceneView.Repaint();
}

Expand Down
12 changes: 12 additions & 0 deletions Assets/Xenon/Editor/Scripts/Xenon.Editor.asmdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Xenon.Editor",
"references": [
"Xenon"
],
"optionalUnityReferences": [],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false
}
7 changes: 7 additions & 0 deletions Assets/Xenon/Editor/Scripts/Xenon.Editor.asmdef.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/Xenon/Scripts/Xenon.asmdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "Xenon"
}
7 changes: 7 additions & 0 deletions Assets/Xenon/Scripts/Xenon.asmdef.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Binary file modified ProjectSettings/GraphicsSettings.asset
Binary file not shown.
Binary file added ProjectSettings/PresetManager.asset
Binary file not shown.
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
m_EditorVersion: 2017.3.0p2
m_EditorVersion: 2018.1.0f2
1 change: 1 addition & 0 deletions XenonBuild/XenonBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@
<Compile Include="..\Assets\Xenon\Scripts\Singleton.cs" />
<Compile Include="..\Assets\Xenon\Scripts\TimingDebugger.cs" />
<Compile Include="..\Assets\Xenon\Scripts\XEvent.cs" />
<Compile Include="..\Assets\Xenon\Scripts\MathPlus.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

0 comments on commit 49a9c3a

Please sign in to comment.