Fix missing assemblies, add ifdef for UNITY_EDITOR
Editor scripts require ifdef UNITY_EDITOR so as to not be compiledmaster
parent
32f3b0aa7a
commit
f701e34863
|
@ -109,7 +109,7 @@ MonoBehaviour:
|
||||||
m_PrefilterDebugKeywords: 1
|
m_PrefilterDebugKeywords: 1
|
||||||
m_PrefilterWriteRenderingLayers: 1
|
m_PrefilterWriteRenderingLayers: 1
|
||||||
m_PrefilterHDROutput: 1
|
m_PrefilterHDROutput: 1
|
||||||
m_PrefilterAlphaOutput: 0
|
m_PrefilterAlphaOutput: 1
|
||||||
m_PrefilterSSAODepthNormals: 1
|
m_PrefilterSSAODepthNormals: 1
|
||||||
m_PrefilterSSAOSourceDepthLow: 1
|
m_PrefilterSSAOSourceDepthLow: 1
|
||||||
m_PrefilterSSAOSourceDepthMedium: 1
|
m_PrefilterSSAOSourceDepthMedium: 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Immutable;
|
using System.Collections;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Diagnostics.Contracts;
|
using System.Diagnostics.Contracts;
|
||||||
|
|
|
@ -3,6 +3,7 @@ using UnityEditor;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
public class GenerateCone : EditorWindow {
|
public class GenerateCone : EditorWindow {
|
||||||
private int sides = 16;
|
private int sides = 16;
|
||||||
private float baseRadius = 1f;
|
private float baseRadius = 1f;
|
||||||
|
@ -139,4 +140,5 @@ public class GenerateCone : EditorWindow {
|
||||||
}
|
}
|
||||||
return sum / vertices.Count;
|
return sum / vertices.Count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
|
@ -2,7 +2,8 @@
|
||||||
"name": "MicromissileAssembly",
|
"name": "MicromissileAssembly",
|
||||||
"rootNamespace": "",
|
"rootNamespace": "",
|
||||||
"references": [
|
"references": [
|
||||||
"GUID:6055be8ebefd69e48b49212b09b47b2f"
|
"GUID:6055be8ebefd69e48b49212b09b47b2f",
|
||||||
|
"GUID:c668b7a00ffe56a498ddb1fc9f96f4e6"
|
||||||
],
|
],
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
|
|
|
@ -55,7 +55,18 @@ MonoBehaviour:
|
||||||
- rid: 162646946419048467
|
- rid: 162646946419048467
|
||||||
- rid: 162646946419048468
|
- rid: 162646946419048468
|
||||||
m_RuntimeSettings:
|
m_RuntimeSettings:
|
||||||
m_List: []
|
m_List:
|
||||||
|
- rid: 162646946419048448
|
||||||
|
- rid: 162646946419048450
|
||||||
|
- rid: 162646946419048451
|
||||||
|
- rid: 162646946419048453
|
||||||
|
- rid: 162646946419048455
|
||||||
|
- rid: 162646946419048457
|
||||||
|
- rid: 162646946419048458
|
||||||
|
- rid: 162646946419048460
|
||||||
|
- rid: 162646946419048461
|
||||||
|
- rid: 162646946419048465
|
||||||
|
- rid: 162646946419048468
|
||||||
m_AssetVersion: 8
|
m_AssetVersion: 8
|
||||||
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
|
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
|
||||||
m_RenderingLayerNames:
|
m_RenderingLayerNames:
|
||||||
|
|
Loading…
Reference in New Issue