Altered flight engineer menu button highlight and pressed colours so that they're more noticable.
Binary files /dev/null and b/Assets/Plugins/KerbalEngineer.Unity.dll differ
--- /dev/null
+++ b/Assets/Prefabs/FlightMenu.prefab
@@ -1,1 +1,1290 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1 &104452
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22454998}
+ - 222: {fileID: 22296168}
+ - 114: {fileID: 11459182}
+ m_Layer: 5
+ m_Name: Selected
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &114528
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22468796}
+ - 222: {fileID: 22254028}
+ - 114: {fileID: 11494262}
+ - 114: {fileID: 11417302}
+ - 114: {fileID: 11415068}
+ m_Layer: 5
+ m_Name: ToggleControlBar
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &116014
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22475412}
+ - 222: {fileID: 22223226}
+ - 114: {fileID: 11409704}
+ - 114: {fileID: 11424646}
+ m_Layer: 5
+ m_Name: Content
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &122098
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22401100}
+ - 222: {fileID: 22201528}
+ - 114: {fileID: 11404586}
+ - 114: {fileID: 11461688}
+ - 114: {fileID: 11420706}
+ m_Layer: 5
+ m_Name: NewCustomSection
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &126098
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22476196}
+ - 222: {fileID: 22270862}
+ - 114: {fileID: 11423044}
+ - 114: {fileID: 11485532}
+ - 225: {fileID: 22567868}
+ - 114: {fileID: 11415294}
+ m_Layer: 5
+ m_Name: FlightMenu
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &133376
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22478174}
+ - 114: {fileID: 11443382}
+ m_Layer: 5
+ m_Name: Controls
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &137786
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22444606}
+ - 222: {fileID: 22267348}
+ - 114: {fileID: 11465882}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &138760
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22409936}
+ - 222: {fileID: 22255938}
+ - 114: {fileID: 11403342}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &150266
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22463980}
+ - 222: {fileID: 22210360}
+ - 114: {fileID: 11475868}
+ m_Layer: 5
+ m_Name: Selected
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &156848
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22483410}
+ - 222: {fileID: 22267572}
+ - 114: {fileID: 11463504}
+ - 114: {fileID: 11453198}
+ m_Layer: 5
+ m_Name: Titlebar
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &157290
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22435482}
+ - 114: {fileID: 11462752}
+ - 114: {fileID: 11483978}
+ m_Layer: 5
+ m_Name: Sections
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &172308
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22401786}
+ - 222: {fileID: 22247322}
+ - 114: {fileID: 11439582}
+ m_Layer: 5
+ m_Name: label
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &193852
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22411946}
+ - 222: {fileID: 22255200}
+ - 114: {fileID: 11465050}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &194088
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22469574}
+ - 222: {fileID: 22281674}
+ - 114: {fileID: 11498756}
+ - 114: {fileID: 11451984}
+ - 114: {fileID: 11485338}
+ m_Layer: 5
+ m_Name: ToggleShowEngineer
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &11403342
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 138760}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 10
+ m_FontStyle: 1
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 4
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: SHOW ENGINEER
+--- !u!114 &11404586
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 122098}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .501960814}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11409704
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 116014}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .313725501, g: .313725501, b: .313725501, a: .70588237}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11415068
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 114528}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: .467545569, g: 1, b: .448529422, a: 1}
+ m_PressedColor: {r: .800000072, g: 1, b: 0, a: 1}
+ m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
+ m_ColorMultiplier: 1
+ m_FadeDuration: .100000001
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 11494262}
+ toggleTransition: 1
+ graphic: {fileID: 11459182}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 11415294}
+ m_MethodName: SetControlBarVisible
+ m_Mode: 0
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
+ m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ m_IsOn: 0
+--- !u!114 &11415294
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 126098}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 571159103, guid: a3a55138b08428847a08c7b48fe72efe, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_ShowEngineerToggle: {fileID: 11485338}
+ m_ControlBarToggle: {fileID: 11415068}
+ m_MenuSectionPrefab: {fileID: 130812, guid: 1755c05344f574d4787a372d34a4e3fb, type: 2}
+ m_SectionsTransform: {fileID: 22435482}
+ m_FastFadeDuration: .100000001
+ m_SlowFadeDuration: .300000012
+--- !u!114 &11417302
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 114528}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 15
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11420706
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 122098}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: .467545569, g: 1, b: .448529422, a: 1}
+ m_PressedColor: {r: .800000072, g: 1, b: 0, a: 1}
+ m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
+ m_ColorMultiplier: 1
+ m_FadeDuration: .100000001
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 11404586}
+ m_OnClick:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 11415294}
+ m_MethodName: NewCustomSection
+ m_Mode: 1
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
+ m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+--- !u!114 &11423044
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 126098}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1741964061, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_HorizontalFit: 0
+ m_VerticalFit: 2
+--- !u!114 &11424646
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 116014}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1297475563, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Padding:
+ m_Left: 4
+ m_Right: 4
+ m_Top: 4
+ m_Bottom: 4
+ m_ChildAlignment: 0
+ m_Spacing: 4
+ m_ChildForceExpandWidth: 1
+ m_ChildForceExpandHeight: 0
+--- !u!114 &11439582
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 172308}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: 1}
+ m_RaycastTarget: 0
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 12
+ m_FontStyle: 1
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 3
+ m_RichText: 0
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: FLIGHT ENGINEER
+--- !u!114 &11443382
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 133376}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 15
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11451984
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 194088}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 15
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11453198
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 156848}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 20
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11459182
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 104452}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .784313738}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11461688
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 122098}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 15
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11462752
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 157290}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1297475563, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Padding:
+ m_Left: 0
+ m_Right: 0
+ m_Top: 4
+ m_Bottom: 4
+ m_ChildAlignment: 0
+ m_Spacing: 4
+ m_ChildForceExpandWidth: 1
+ m_ChildForceExpandHeight: 0
+--- !u!114 &11463504
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 156848}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .183823526, g: .183823526, b: .183823526, a: .90196079}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11465050
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 193852}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 10
+ m_FontStyle: 1
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 4
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: CONTROL BAR
+--- !u!114 &11465882
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 137786}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 10
+ m_FontStyle: 1
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 4
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: NEW CUSTOM SECTION
+--- !u!114 &11475868
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 150266}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .784313738}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11483978
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 157290}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1741964061, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_HorizontalFit: 0
+ m_VerticalFit: 2
+--- !u!114 &11485338
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 194088}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: .467545569, g: 1, b: .448529422, a: 1}
+ m_PressedColor: {r: .800000072, g: 1, b: 0, a: 1}
+ m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
+ m_ColorMultiplier: 1
+ m_FadeDuration: .100000001
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 11498756}
+ toggleTransition: 1
+ graphic: {fileID: 11475868}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 11415294}
+ m_MethodName: SetDisplayStackVisible
+ m_Mode: 0
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
+ m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ m_IsOn: 0
+--- !u!114 &11485532
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 126098}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1297475563, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Padding:
+ m_Left: 0
+ m_Right: 0
+ m_Top: 0
+ m_Bottom: 0
+ m_ChildAlignment: 0
+ m_Spacing: 0
+ m_ChildForceExpandWidth: 1
+ m_ChildForceExpandHeight: 1
+--- !u!114 &11494262
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 114528}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .501960814}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11498756
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 194088}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .501960814}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &22201528
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 122098}
+--- !u!222 &22210360
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 150266}
+--- !u!222 &22223226
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 116014}
+--- !u!222 &22247322
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 172308}
+--- !u!222 &22254028
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 114528}
+--- !u!222 &22255200
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 193852}
+--- !u!222 &22255938
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 138760}
+--- !u!222 &22267348
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 137786}
+--- !u!222 &22267572
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 156848}
+--- !u!222 &22270862
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 126098}
+--- !u!222 &22281674
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 194088}
+--- !u!222 &22296168
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 104452}
+--- !u!224 &22401100
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 122098}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22444606}
+ m_Father: {fileID: 22475412}
+ m_RootOrder: 2
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22401786
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 172308}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22483410}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 2.5, y: 0}
+ m_SizeDelta: {x: -5, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22409936
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 138760}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22469574}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22411946
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 193852}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22468796}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22435482
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 157290}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22475412}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22444606
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 137786}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22401100}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22454998
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 104452}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22468796}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22463980
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 150266}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22469574}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22468796
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 114528}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22454998}
+ - {fileID: 22411946}
+ m_Father: {fileID: 22478174}
+ m_RootOrder: 1
+ m_AnchorMin: {x: .5, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 1, y: 0}
+ m_SizeDelta: {x: -2, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22469574
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 194088}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22463980}
+ - {fileID: 22409936}
+ m_Father: {fileID: 22478174}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: .5, y: 1}
+ m_AnchoredPosition: {x: -1, y: 0}
+ m_SizeDelta: {x: -2, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22475412
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 116014}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22478174}
+ - {fileID: 22435482}
+ - {fileID: 22401100}
+ m_Father: {fileID: 22476196}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22476196
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 126098}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22483410}
+ - {fileID: 22475412}
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_AnchorMin: {x: .5, y: .5}
+ m_AnchorMax: {x: .5, y: .5}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 250, y: 0}
+ m_Pivot: {x: 1, y: 0}
+--- !u!224 &22478174
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 133376}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22469574}
+ - {fileID: 22468796}
+ m_Father: {fileID: 22475412}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22483410
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 156848}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22401786}
+ m_Father: {fileID: 22476196}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: 1}
+--- !u!225 &22567868
+CanvasGroup:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 126098}
+ m_Enabled: 1
+ m_Alpha: 1
+ m_Interactable: 1
+ m_BlocksRaycasts: 1
+ m_IgnoreParentGroups: 0
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 0}
+ propertyPath: m_FastFadeDuration
+ value: .100000001
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_SlowFadeDuration
+ value: .200000003
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_ContentTransform
+ value:
+ objectReference: {fileID: 22475412}
+ - target: {fileID: 0}
+ propertyPath: m_SectionPrefab
+ value:
+ objectReference: {fileID: 130812, guid: 1755c05344f574d4787a372d34a4e3fb, type: 2}
+ - target: {fileID: 0}
+ propertyPath: m_MenuSectionPrefab
+ value:
+ objectReference: {fileID: 130812, guid: 1755c05344f574d4787a372d34a4e3fb, type: 2}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 126098}
+ m_IsPrefabParent: 1
--- /dev/null
+++ b/Assets/Prefabs/FlightMenuSection.prefab
@@ -1,1 +1,694 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1 &121376
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22409126}
+ - 222: {fileID: 22266612}
+ - 114: {fileID: 11461446}
+ - 114: {fileID: 11496274}
+ - 114: {fileID: 11436568}
+ m_Layer: 5
+ m_Name: ToggleDisplay
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &121536
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22446728}
+ - 222: {fileID: 22259916}
+ - 114: {fileID: 11418436}
+ m_Layer: 5
+ m_Name: Selected
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &130136
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22444842}
+ - 222: {fileID: 22269896}
+ - 114: {fileID: 11449350}
+ - 114: {fileID: 11489918}
+ - 114: {fileID: 11421724}
+ m_Layer: 5
+ m_Name: ToggleEdit
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &130812
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22478272}
+ - 114: {fileID: 11431788}
+ - 114: {fileID: 11494744}
+ m_Layer: 5
+ m_Name: FlightMenuSection
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &151828
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22485856}
+ - 222: {fileID: 22274980}
+ - 114: {fileID: 11408784}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &172700
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22483442}
+ - 222: {fileID: 22246486}
+ - 114: {fileID: 11462740}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!1 &178618
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 22469204}
+ - 222: {fileID: 22219086}
+ - 114: {fileID: 11484356}
+ m_Layer: 5
+ m_Name: Selected
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &11408784
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 151828}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 10
+ m_FontStyle: 1
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 4
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: DISPLAY
+--- !u!114 &11418436
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121536}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .784313738}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11421724
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130136}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: .467545569, g: 1, b: .448529422, a: 1}
+ m_PressedColor: {r: .800000072, g: 1, b: 0, a: 1}
+ m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
+ m_ColorMultiplier: 1
+ m_FadeDuration: .100000001
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 11449350}
+ toggleTransition: 1
+ graphic: {fileID: 11484356}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 11494744}
+ m_MethodName: SetEditorVisible
+ m_Mode: 0
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
+ m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ m_IsOn: 0
+--- !u!114 &11431788
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130812}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 15
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11436568
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121376}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: .467545569, g: 1, b: .448529422, a: 1}
+ m_PressedColor: {r: .800000072, g: 1, b: 0, a: 1}
+ m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
+ m_ColorMultiplier: 1
+ m_FadeDuration: .100000001
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 11461446}
+ toggleTransition: 1
+ graphic: {fileID: 11418436}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 11494744}
+ m_MethodName: SetDisplayVisible
+ m_Mode: 0
+ m_Arguments:
+ m_ObjectArgument: {fileID: 0}
+ m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
+ m_IntArgument: 0
+ m_FloatArgument: 0
+ m_StringArgument:
+ m_BoolArgument: 0
+ m_CallState: 2
+ m_TypeName: UnityEngine.UI.Toggle+ToggleEvent, UnityEngine.UI, Version=1.0.0.0,
+ Culture=neutral, PublicKeyToken=null
+ m_IsOn: 0
+--- !u!114 &11449350
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130136}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .501960814}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11461446
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121376}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .501960814}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11462740
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 172700}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 1}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 10
+ m_FontStyle: 1
+ m_BestFit: 0
+ m_MinSize: 10
+ m_MaxSize: 40
+ m_Alignment: 4
+ m_RichText: 1
+ m_HorizontalOverflow: 0
+ m_VerticalOverflow: 0
+ m_LineSpacing: 1
+ m_Text: EDIT
+--- !u!114 &11484356
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 178618}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: .800000072, g: 1, b: 0, a: .784313738}
+ m_RaycastTarget: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!114 &11489918
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130136}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 20
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!114 &11494744
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130812}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -1842827791, guid: a3a55138b08428847a08c7b48fe72efe, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_DisplayToggle: {fileID: 11436568}
+ m_DisplayText: {fileID: 11408784}
+ m_EditToggle: {fileID: 11421724}
+--- !u!114 &11496274
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121376}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 20
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+--- !u!222 &22219086
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 178618}
+--- !u!222 &22246486
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 172700}
+--- !u!222 &22259916
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121536}
+--- !u!222 &22266612
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121376}
+--- !u!222 &22269896
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130136}
+--- !u!222 &22274980
+CanvasRenderer:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 151828}
+--- !u!224 &22409126
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121376}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22446728}
+ - {fileID: 22485856}
+ m_Father: {fileID: 22478272}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: .75, y: 1}
+ m_AnchoredPosition: {x: -1, y: 0}
+ m_SizeDelta: {x: -2, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22444842
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130136}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22469204}
+ - {fileID: 22483442}
+ m_Father: {fileID: 22478272}
+ m_RootOrder: 1
+ m_AnchorMin: {x: .75, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 1, y: 0}
+ m_SizeDelta: {x: -2, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22446728
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 121536}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22409126}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22469204
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 178618}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22444842}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22478272
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 130812}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 22409126}
+ - {fileID: 22444842}
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22483442
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 172700}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22444842}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!224 &22485856
+RectTransform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 100100000}
+ m_GameObject: {fileID: 151828}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 22409126}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 1
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: 0}
+ propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target
+ value:
+ objectReference: {fileID: 11494744}
+ - target: {fileID: 0}
+ propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
+ value: SetEditorVisible
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_NormalColor.r
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_NormalColor.b
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_HighlightedColor.r
+ value: .467545569
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_HighlightedColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_HighlightedColor.b
+ value: .448529422
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_NormalColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_PressedColor.r
+ value: .800000072
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_PressedColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 0}
+ propertyPath: m_Colors.m_PressedColor.b
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 130812}
+ m_IsPrefabParent: 1
--- /dev/null
+++ b/Assets/Scenes/main.unity
@@ -1,1 +1,737 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+SceneSettings:
+ m_ObjectHideFlags: 0
+ m_PVSData:
+ m_PVSObjectsArray: []
+ m_PVSPortalsArray: []
+ m_OcclusionBakeSettings:
+ smallestOccluder: 5
+ smallestHole: .25
+ backfaceThreshold: 100
+--- !u!104 &2
+RenderSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 6
+ m_Fog: 0
+ m_FogColor: {r: .5, g: .5, b: .5, a: 1}
+ m_FogMode: 3
+ m_FogDensity: .00999999978
+ m_LinearFogStart: 0
+ m_LinearFogEnd: 300
+ m_AmbientSkyColor: {r: .211999997, g: .226999998, b: .259000003, a: 1}
+ m_AmbientEquatorColor: {r: .114, g: .125, b: .133000001, a: 1}
+ m_AmbientGroundColor: {r: .0469999984, g: .0430000015, b: .0350000001, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 3
+ m_SkyboxMaterial: {fileID: 0}
+ m_HaloStrength: .5
+ m_FlareStrength: 1
+ m_FlareFadeSpeed: 3
+ m_HaloTexture: {fileID: 0}
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+ m_DefaultReflectionMode: 0
+ m_DefaultReflectionResolution: 128
+ m_ReflectionBounces: 1
+ m_ReflectionIntensity: 1
+ m_CustomReflection: {fileID: 0}
+ m_Sun: {fileID: 0}
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 5
+ m_GIWorkflowMode: 1
+ m_LightmapsMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_TemporalCoherenceThreshold: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 0
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 3
+ m_Resolution: 2
+ m_BakeResolution: 40
+ m_TextureWidth: 1024
+ m_TextureHeight: 1024
+ m_AOMaxDistance: 1
+ m_Padding: 2
+ m_CompAOExponent: 0
+ m_LightmapParameters: {fileID: 0}
+ m_TextureCompression: 1
+ m_FinalGather: 0
+ m_FinalGatherRayCount: 1024
+ m_ReflectionCompression: 2
+ m_LightmapSnapshot: {fileID: 0}
+ m_RuntimeCPUUsage: 25
+--- !u!196 &4
+NavMeshSettings:
+ serializedVersion: 2
+ m_ObjectHideFlags: 0
+ m_BuildSettings:
+ serializedVersion: 2
+ agentRadius: .5
+ agentHeight: 2
+ agentSlope: 45
+ agentClimb: .400000006
+ ledgeDropHeight: 0
+ maxJumpAcrossDistance: 0
+ accuratePlacement: 0
+ minRegionArea: 2
+ cellSize: .166666672
+ manualCellSize: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &476101859
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 476101860}
+ - 222: {fileID: 476101862}
+ - 114: {fileID: 476101861}
+ m_Layer: 5
+ m_Name: Background-Flight
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &476101860
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 476101859}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 1866791882}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!114 &476101861
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 476101859}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 0
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: 0115c816d260a0947976c8ea804febbc, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &476101862
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 476101859}
+--- !u!1001 &719682886
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 1866791882}
+ m_Modifications:
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_RootOrder
+ value: 2
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 250
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 74
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.x
+ value: .5
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: .5
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.x
+ value: .5
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: .5
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Pivot.x
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Pivot.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 22435482, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22435482, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22435482, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 125
+ objectReference: {fileID: 0}
+ - target: {fileID: 22435482, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: -27
+ objectReference: {fileID: 0}
+ - target: {fileID: 22435482, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 242
+ objectReference: {fileID: 0}
+ - target: {fileID: 22435482, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 8
+ objectReference: {fileID: 0}
+ - target: {fileID: 22478174, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22478174, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22478174, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 125
+ objectReference: {fileID: 0}
+ - target: {fileID: 22478174, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: -11.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 22478174, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 242
+ objectReference: {fileID: 0}
+ - target: {fileID: 22478174, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 15
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401100, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401100, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401100, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 125
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401100, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: -42.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401100, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 242
+ objectReference: {fileID: 0}
+ - target: {fileID: 22401100, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 15
+ objectReference: {fileID: 0}
+ - target: {fileID: 22483410, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22483410, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22483410, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 125
+ objectReference: {fileID: 0}
+ - target: {fileID: 22483410, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 250
+ objectReference: {fileID: 0}
+ - target: {fileID: 22483410, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 20
+ objectReference: {fileID: 0}
+ - target: {fileID: 22475412, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMin.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22475412, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchorMax.y
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 22475412, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.x
+ value: 125
+ objectReference: {fileID: 0}
+ - target: {fileID: 22475412, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_AnchoredPosition.y
+ value: -47
+ objectReference: {fileID: 0}
+ - target: {fileID: 22475412, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.x
+ value: 250
+ objectReference: {fileID: 0}
+ - target: {fileID: 22475412, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_SizeDelta.y
+ value: 54
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
+ value: SetControlBarVisible
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: onValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
+ value: SetDisplayStackVisible
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_HighlightedColor.r
+ value: .467545569
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_HighlightedColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_HighlightedColor.b
+ value: .448529422
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.r
+ value: .800000072
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.b
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 11485338, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.a
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_HighlightedColor.r
+ value: .467545569
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_HighlightedColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_HighlightedColor.b
+ value: .448529422
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.r
+ value: .800000072
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.g
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 11415068, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ propertyPath: m_Colors.m_PressedColor.b
+ value: 0
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 100100000, guid: a41f85cb0b8964f43947e85b3e833c0f, type: 2}
+ m_IsPrefabParent: 0
+--- !u!224 &1026898450 stripped
+RectTransform:
+ m_PrefabParentObject: {fileID: 22476196, guid: a41f85cb0b8964f43947e85b3e833c0f,
+ type: 2}
+ m_PrefabInternal: {fileID: 719682886}
+--- !u!1 &1398276586
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 4
+ m_Component:
+ - 4: {fileID: 1398276590}
+ - 114: {fileID: 1398276589}
+ - 114: {fileID: 1398276588}
+ - 114: {fileID: 1398276587}
+ m_Layer: 0
+ m_Name: EventSystem
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1398276587
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1398276586}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_ForceModuleActive: 0
+--- !u!114 &1398276588
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1398276586}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_HorizontalAxis: Horizontal
+ m_VerticalAxis: Vertical
+ m_SubmitButton: Submit
+ m_CancelButton: Cancel
+ m_InputActionsPerSecond: 10
+ m_RepeatDelay: .5
+ m_ForceModuleActive: 0
+--- !u!114 &1398276589
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1398276586}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_FirstSelected: {fileID: 0}
+ m_sendNavigationEvents: 1
+ m_DragThreshold: 5
+--- !u!4 &1398276590
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1398276586}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+--- !u!1 &1866791878
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 1866791882}
+ - 223: {fileID: 1866791881}
+ - 114: {fileID: 1866791880}
+ - 114: {fileID: 1866791879}
+ m_Layer: 5
+ m_Name: Canvas
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1866791879
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1866791878}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreReversedGraphics: 1
+ m_BlockingObjects: 0
+ m_BlockingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+--- !u!114 &1866791880
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1866791878}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_UiScaleMode: 0
+ m_ReferencePixelsPerUnit: 100
+ m_ScaleFactor: 1
+ m_ReferenceResolution: {x: 800, y: 600}
+ m_ScreenMatchMode: 0
+ m_MatchWidthOrHeight: 0
+ m_PhysicalUnit: 3
+ m_FallbackScreenDPI: 96
+ m_DefaultSpriteDPI: 96
+ m_DynamicPixelsPerUnit: 1
+--- !u!223 &1866791881
+Canvas:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1866791878}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_RenderMode: 0
+ m_Camera: {fileID: 0}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 0
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingLayerID: 0
+ m_SortingOrder: 0
+--- !u!224 &1866791882
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1866791878}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_Children:
+ - {fileID: 2037475081}
+ - {fileID: 476101860}
+ - {fileID: 1026898450}
+ m_Father: {fileID: 0}
+ m_RootOrder: 1
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
+--- !u!1 &2037475080
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 4
+ m_Component:
+ - 224: {fileID: 2037475081}
+ - 222: {fileID: 2037475083}
+ - 114: {fileID: 2037475082}
+ m_Layer: 5
+ m_Name: Background-Editor
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &2037475081
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2037475080}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 1866791882}
+ m_RootOrder: 0
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: .5, y: .5}
+--- !u!114 &2037475082
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2037475080}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 0
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
+ Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ m_Sprite: {fileID: 21300000, guid: b0e2a09d07dbbcb40b0d4db43cd044f9, type: 3}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+--- !u!222 &2037475083
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2037475080}
+--- !u!1 &2134872726
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 4
+ m_Component:
+ - 4: {fileID: 2134872731}
+ - 20: {fileID: 2134872730}
+ - 92: {fileID: 2134872729}
+ - 124: {fileID: 2134872728}
+ - 81: {fileID: 2134872727}
+ m_Layer: 0
+ m_Name: Main Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!81 &2134872727
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2134872726}
+ m_Enabled: 1
+--- !u!124 &2134872728
+Behaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2134872726}
+ m_Enabled: 1
+--- !u!92 &2134872729
+Behaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2134872726}
+ m_Enabled: 1
+--- !u!20 &2134872730
+Camera:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2134872726}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 2
+ m_BackGroundColor: {r: 0, g: 0, b: 0, a: .0196078438}
+ m_NormalizedViewPortRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ near clip plane: .300000012
+ far clip plane: 1000
+ field of view: 60
+ orthographic: 1
+ orthographic size: 5
+ m_Depth: -1
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingPath: -1
+ m_TargetTexture: {fileID: 0}
+ m_TargetDisplay: 0
+ m_TargetEye: 3
+ m_HDR: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: .0219999999
+ m_StereoMirrorMode: 0
+--- !u!4 &2134872731
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 2134872726}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: -10}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
--- a/Assets/Scripts/Editor/BuildAssetBundles.cs
+++ b/Assets/Scripts/Editor/BuildAssetBundles.cs
@@ -1,4 +1,22 @@
-using UnityEditor;
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+using UnityEditor;
using UnityEngine;
public class BuildAssetBundles : MonoBehaviour
Binary files /dev/null and b/Assets/Testing/background-editor.png differ
Binary files /dev/null and b/Assets/Testing/background-flight.png differ
--- a/Documents/CHANGES.txt
+++ b/Documents/CHANGES.txt
@@ -1,4 +1,9 @@
+ Added: Asset bundle loading and integration.
Changed: Thermal flux is now correctly indicated in kilowatts.
+ Changed: Complete rewrite of code underpinning the stock toolbar icons.
+ Changed: Flight Engineer toolbar menu recreated using Unity UI.
+ Changed: Replaced occurances of IMGUI using RenderingManager to use OnGUI directly.
+ Fixed: Toggling the 'Control Bar' now appropriately resizes the display stack.
1.0.19.4, 12-02-16
Fixed: Only 'STAGE_STACK_FLOW' and 'STAGE_STACK_FLOW_BALANCE' resources include surface mounted parts as fuel targets.
--- a/KerbalEngineer.CSharp.Editor.csproj
+++ b/KerbalEngineer.CSharp.Editor.csproj
@@ -15,7 +15,7 @@
<TargetFrameworkProfile>Unity Full v3.5</TargetFrameworkProfile>
<CompilerResponseFile></CompilerResponseFile>
<UnityProjectType>Editor:5</UnityProjectType>
- <UnityBuildTarget>WebPlayer:6</UnityBuildTarget>
+ <UnityBuildTarget>StandaloneWindows:5</UnityBuildTarget>
<UnityVersion>5.2.4f1</UnityVersion>
<RootNamespace></RootNamespace>
<LangVersion Condition=" '$(VisualStudioVersion)' != '10.0' ">4</LangVersion>
@@ -27,7 +27,7 @@
<IntermediateOutputPath>Temp\UnityVS_obj\Debug\</IntermediateOutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DefineConstants>DEBUG;TRACE;UNITY_5_2_4;UNITY_5_2;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_2D_PHYSICS;ENABLE_4_6_FEATURES;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_REFLECTION_BUFFERS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;UNITY_WEBPLAYER;ENABLE_SUBSTANCE;WEBPLUG;ENABLE_TEXTUREID_MAP;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;UNITY_5_2_4;UNITY_5_2;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_2D_PHYSICS;ENABLE_4_6_FEATURES;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_REFLECTION_BUFFERS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_TEXTUREID_MAP;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_LOG_MIXED_STACKTRACE;ENABLE_UNITYWEBREQUEST;ENABLE_EVENT_QUEUE;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN</DefineConstants>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -37,7 +37,7 @@
<IntermediateOutputPath>Temp\UnityVS_obj\Release\</IntermediateOutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DefineConstants>TRACE;UNITY_5_2_4;UNITY_5_2;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_2D_PHYSICS;ENABLE_4_6_FEATURES;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_REFLECTION_BUFFERS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;UNITY_WEBPLAYER;ENABLE_SUBSTANCE;WEBPLUG;ENABLE_TEXTUREID_MAP;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN</DefineConstants>
+ <DefineConstants>TRACE;UNITY_5_2_4;UNITY_5_2;UNITY_5;ENABLE_NEW_BUGREPORTER;ENABLE_2D_PHYSICS;ENABLE_4_6_FEATURES;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_FRAME_DEBUGGER;ENABLE_GENERICS;ENABLE_HOME_SCREEN;ENABLE_IMAGEEFFECTS;ENABLE_LIGHT_PROBES_LEGACY;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_PLUGIN_INSPECTOR;ENABLE_SHADOWS;ENABLE_SINGLE_INSTANCE_BUILD_SETTING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_UNITYEVENTS;ENABLE_VR;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_REFLECTION_BUFFERS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;INCLUDE_IL2CPP;INCLUDE_DIRECTX12;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;ENABLE_LOCALIZATION;ENABLE_ANDROID_ATLAS_ETC1_COMPRESSION;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_TEXTUREID_MAP;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_LOG_MIXED_STACKTRACE;ENABLE_UNITYWEBREQUEST;ENABLE_EVENT_QUEUE;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;DEBUG;TRACE;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN</DefineConstants>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
@@ -47,14 +47,13 @@
<Reference Include="System.Core" />
<Reference Include="Boo.Lang" />
<Reference Include="UnityScript.Lang" />
+ <Reference Include="System.Runtime.Serialization" />
+ <Reference Include="System.Xml.Linq" />
<Reference Include="UnityEngine">
<HintPath>Library\UnityAssemblies\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEditor">
<HintPath>Library\UnityAssemblies\UnityEditor.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.Advertisements">
- <HintPath>Library\UnityAssemblies\UnityEngine.Advertisements.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Advertisements">
<HintPath>Library\UnityAssemblies\UnityEditor.Advertisements.dll</HintPath>
@@ -70,9 +69,6 @@
</Reference>
<Reference Include="UnityEditor.Networking">
<HintPath>Library\UnityAssemblies\UnityEditor.Networking.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.Analytics">
- <HintPath>Library\UnityAssemblies\UnityEngine.Analytics.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.Graphs">
<HintPath>Library\UnityAssemblies\UnityEditor.Graphs.dll</HintPath>
@@ -110,32 +106,14 @@
<Reference Include="SyntaxTree.VisualStudio.Unity.Bridge">
<HintPath>Library\UnityAssemblies\SyntaxTree.VisualStudio.Unity.Bridge.dll</HintPath>
</Reference>
- <Reference Include="UnityEditor.Networking">
- <HintPath>Library\UnityAssemblies\UnityEditor.Networking.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.Advertisements">
- <HintPath>Library\UnityAssemblies\UnityEngine.Advertisements.dll</HintPath>
- </Reference>
- <Reference Include="UnityEditor.UI">
- <HintPath>Library\UnityAssemblies\UnityEditor.UI.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.Analytics">
- <HintPath>Library\UnityAssemblies\UnityEngine.Analytics.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.Networking">
- <HintPath>Library\UnityAssemblies\UnityEngine.Networking.dll</HintPath>
- </Reference>
- <Reference Include="UnityEditor.Advertisements">
- <HintPath>Library\UnityAssemblies\UnityEditor.Advertisements.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine.UI">
- <HintPath>Library\UnityAssemblies\UnityEngine.UI.dll</HintPath>
- </Reference>
<Reference Include="Mono.Cecil">
<HintPath>Library\UnityAssemblies\Mono.Cecil.dll</HintPath>
</Reference>
<Reference Include="UnityEditor.iOS.Extensions.Xcode">
<HintPath>Library\UnityAssemblies\UnityEditor.iOS.Extensions.Xcode.dll</HintPath>
+ </Reference>
+ <Reference Include="KerbalEngineer.Unity">
+ <HintPath>Assets\Plugins\KerbalEngineer.Unity.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
--- /dev/null
+++ b/KerbalEngineer.Unity/CanvasGroupFader.cs
@@ -1,1 +1,109 @@
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+namespace KerbalEngineer.Unity
+{
+ using System;
+ using System.Collections;
+ using UnityEngine;
+
+ [RequireComponent(typeof(CanvasGroup))]
+ public class CanvasGroupFader : MonoBehaviour
+ {
+ private CanvasGroup m_CanvasGroup;
+ private IEnumerator m_FadeCoroutine;
+
+ public bool IsFading
+ {
+ get
+ {
+ return m_FadeCoroutine != null;
+ }
+ }
+
+ /// <summary>
+ /// Fades the canvas group to a specified alpha using the supplied blocking state during fade with optional callback.
+ /// </summary>
+ public void FadeTo(float alpha, float duration, Action callback = null)
+ {
+ if (m_CanvasGroup == null)
+ {
+ return;
+ }
+
+ Fade(m_CanvasGroup.alpha, alpha, duration, callback);
+ }
+
+ /// <summary>
+ /// Sets the alpha value of the canvas group.
+ /// </summary>
+ public void SetAlpha(float alpha)
+ {
+ if (m_CanvasGroup == null)
+ {
+ return;
+ }
+
+ alpha = Mathf.Clamp01(alpha);
+ m_CanvasGroup.alpha = alpha;
+ }
+
+ protected virtual void Awake()
+ {
+ // cache components
+ m_CanvasGroup = GetComponent<CanvasGroup>();
+ }
+
+ /// <summary>
+ /// Starts a fade from one alpha value to another with callback.
+ /// </summary>
+ private void Fade(float from, float to, float duration, Action callback)
+ {
+ if (m_FadeCoroutine != null)
+ {
+ StopCoroutine(m_FadeCoroutine);
+ }
+
+ m_FadeCoroutine = FadeCoroutine(from, to, duration, callback);
+ StartCoroutine(m_FadeCoroutine);
+ }
+
+ /// <summary>
+ /// Coroutine that handles the fading.
+ /// </summary>
+ private IEnumerator FadeCoroutine(float from, float to, float duration, Action callback)
+ {
+ // wait for end of frame so that only the last call to fade that frame is honoured.
+ yield return new WaitForEndOfFrame();
+
+ float progress = 0.0f;
+
+ while (progress <= 1.0f)
+ {
+ progress += Time.deltaTime / duration;
+ SetAlpha(Mathf.Lerp(from, to, progress));
+ yield return null;
+ }
+
+ print(m_CanvasGroup.alpha);
+ callback?.Invoke();
+
+ m_FadeCoroutine = null;
+ }
+ }
+}
--- /dev/null
+++ b/KerbalEngineer.Unity/Flight/FlightMenu.cs
@@ -1,1 +1,223 @@
-
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+namespace KerbalEngineer.Unity.Flight
+{
+ using System.Collections.Generic;
+ using UnityEngine;
+ using UnityEngine.EventSystems;
+ using UnityEngine.UI;
+
+ [RequireComponent(typeof(RectTransform))]
+ public class FlightMenu : CanvasGroupFader, IPointerEnterHandler, IPointerExitHandler
+ {
+ [SerializeField]
+ private Toggle m_ShowEngineerToggle = null;
+
+ [SerializeField]
+ private Toggle m_ControlBarToggle = null;
+
+ [SerializeField]
+ private GameObject m_MenuSectionPrefab = null;
+
+ [SerializeField]
+ private Transform m_SectionsTransform = null;
+
+ [SerializeField]
+ private float m_FastFadeDuration = 0.2f;
+
+ [SerializeField]
+ private float m_SlowFadeDuration = 1.0f;
+
+ private IFlightAppLauncher m_FlightAppLauncher;
+ private RectTransform m_RectTransform;
+
+ public void OnPointerEnter(PointerEventData eventData)
+ {
+ FadeIn();
+ }
+
+ public void OnPointerExit(PointerEventData eventData)
+ {
+ // slow-fade out if the application launcher button is off
+ if (m_FlightAppLauncher != null && m_FlightAppLauncher.IsOn == false)
+ {
+ FadeTo(0.0f, m_SlowFadeDuration, Destroy);
+ }
+ }
+
+ /// <summary>
+ /// Fades out and destroys the menu.
+ /// </summary>
+ public void Close()
+ {
+ FadeTo(0.0f, m_FastFadeDuration, Destroy);
+ }
+
+ /// <summary>
+ /// Fades in the menu.
+ /// </summary>
+ public void FadeIn()
+ {
+ FadeTo(1.0f, m_FastFadeDuration);
+ }
+
+ /// <summary>
+ /// Creates a new custom section.
+ /// </summary>
+ public void NewCustomSection()
+ {
+ if (m_FlightAppLauncher != null)
+ {
+ CreateSectionControl(m_FlightAppLauncher.NewCustomSection());
+ }
+ }
+
+ /// <summary>
+ /// Sets the control bar visiblity.
+ /// </summary>
+ public void SetControlBarVisible(bool visible)
+ {
+ if (m_FlightAppLauncher != null)
+ {
+ m_FlightAppLauncher.IsControlBarVisible = visible;
+ }
+ }
+
+ /// <summary>
+ /// Sets the display stack visibility.
+ /// </summary>
+ public void SetDisplayStackVisible(bool visible)
+ {
+ if (m_FlightAppLauncher != null)
+ {
+ m_FlightAppLauncher.IsDisplayStackVisible = visible;
+ }
+ }
+
+ /// <summary>
+ /// Sets a reference to the flight app launcher object.
+ /// </summary>
+ public void SetFlightAppLauncher(IFlightAppLauncher flightAppLauncher)
+ {
+ if (flightAppLauncher == null)
+ {
+ return;
+ }
+
+ m_FlightAppLauncher = flightAppLauncher;
+
+ // create section controls
+ CreateSectionControls(m_FlightAppLauncher.GetStockSections());
+ CreateSectionControls(m_FlightAppLauncher.GetCustomSections());
+ }
+
+ protected override void Awake()
+ {
+ base.Awake();
+
+ // cache components
+ m_RectTransform = GetComponent<RectTransform>();
+ }
+
+ protected virtual void Start()
+ {
+ // set starting alpha to zero and fade in
+ SetAlpha(0.0f);
+ FadeIn();
+ }
+
+ protected virtual void Update()
+ {
+ if (m_FlightAppLauncher == null)
+ {
+ return;
+ }
+
+ // set toggle states to match the actual states
+ SetToggle(m_ShowEngineerToggle, m_FlightAppLauncher.IsDisplayStackVisible);
+ SetToggle(m_ControlBarToggle, m_FlightAppLauncher.IsControlBarVisible);
+
+ // update anchor position
+ if (m_RectTransform != null)
+ {
+ m_RectTransform.position = m_FlightAppLauncher.GetAnchor();
+ m_FlightAppLauncher.ClampToScreen(m_RectTransform);
+ }
+ }
+
+ /// <summary>
+ /// Sets a given toggle to the specified state with null checking.
+ /// </summary>
+ private static void SetToggle(Toggle toggle, bool state)
+ {
+ if (toggle != null)
+ {
+ toggle.isOn = state;
+ }
+ }
+
+ /// <summary>
+ /// Creates a menu section control.
+ /// </summary>
+ private void CreateSectionControl(ISectionModule section)
+ {
+ GameObject menuSectionObject = Instantiate(m_MenuSectionPrefab);
+ if (menuSectionObject != null)
+ {
+ menuSectionObject.transform.SetParent(m_SectionsTransform, false);
+
+ FlightMenuSection menuSection = menuSectionObject.GetComponent<FlightMenuSection>();
+ if (menuSection != null)
+ {
+ menuSection.SetAssignedSection(section);
+ }
+ }
+ }
+
+ /// <summary>
+ /// Creates a list of section controls from a given list of sections.
+ /// </summary>
+ private void CreateSectionControls(IList<ISectionModule> sections)
+ {
+ if (sections == null || m_MenuSectionPrefab == null || m_SectionsTransform == null)
+ {
+ return;
+ }
+
+ for (int i = 0; i < sections.Count; i++)
+ {
+ ISectionModule section = sections[i];
+ if (section != null)
+ {
+ CreateSectionControl(section);
+ }
+ }
+ }
+
+ /// <summary>
+ /// Destroys the game object.
+ /// </summary>
+ private void Destroy()
+ {
+ // disable game object first due to an issue within unity 5.2.4f1 that shows a single frame at full opaque alpha just before destruction
+ gameObject.SetActive(false);
+ Destroy(gameObject);
+ }
+ }
+}
--- /dev/null
+++ b/KerbalEngineer.Unity/Flight/FlightMenuSection.cs
@@ -1,1 +1,130 @@
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+namespace KerbalEngineer.Unity.Flight
+{
+ using UnityEngine;
+ using UnityEngine.UI;
+
+ public class FlightMenuSection : MonoBehaviour
+ {
+ [SerializeField]
+ private Toggle m_DisplayToggle = null;
+
+ [SerializeField]
+ private Text m_DisplayText = null;
+
+ [SerializeField]
+ private Toggle m_EditToggle = null;
+
+ private ISectionModule m_Section;
+
+ /// <summary>
+ /// Gets or sets the section's editor visibility.
+ /// </summary>
+ public bool IsEditorVisible
+ {
+ get
+ {
+ if (m_EditToggle != null)
+ {
+ return m_EditToggle.isOn;
+ }
+
+ return true;
+ }
+ set
+ {
+ if (m_EditToggle != null)
+ {
+ m_EditToggle.isOn = value;
+ }
+ }
+ }
+
+ /// <summary>
+ /// Sets the assigned section to be handled by the menu object.
+ /// </summary>
+ public void SetAssignedSection(ISectionModule section)
+ {
+ if (section == null)
+ {
+ return;
+ }
+
+ m_Section = section;
+ }
+
+ /// <summary>
+ /// Sets the section's display visibility.
+ /// </summary>
+ public void SetDisplayVisible(bool visible)
+ {
+ if (m_Section != null)
+ {
+ m_Section.IsVisible = visible;
+ }
+ }
+
+ /// <summary>
+ /// Sets the section's editor visibility.
+ /// </summary>
+ public void SetEditorVisible(bool visible)
+ {
+ if (m_Section != null)
+ {
+ m_Section.IsEditorVisible = visible;
+ }
+ }
+
+ protected virtual void Update()
+ {
+ UpdateControls();
+ }
+
+ /// <summary>
+ /// Updates the menu section's controls.
+ /// </summary>
+ private void UpdateControls()
+ {
+ if (m_Section == null || m_Section.IsDeleted)
+ {
+ Destroy(gameObject);
+ return;
+ }
+
+ // display visible
+ if (m_DisplayToggle != null)
+ {
+ m_DisplayToggle.isOn = m_Section.IsVisible;
+ }
+
+ // display name
+ if (m_DisplayText != null)
+ {
+ m_DisplayText.text = m_Section.Name.ToUpperInvariant();
+ }
+
+ // editor visible
+ if (m_EditToggle != null)
+ {
+ m_EditToggle.isOn = m_Section.IsEditorVisible;
+ }
+ }
+ }
+}
--- /dev/null
+++ b/KerbalEngineer.Unity/Flight/IFlightAppLauncher.cs
@@ -1,1 +1,42 @@
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+namespace KerbalEngineer.Unity.Flight
+{
+ using System.Collections.Generic;
+ using UnityEngine;
+
+ public interface IFlightAppLauncher
+ {
+ bool IsControlBarVisible { get; set; }
+
+ bool IsDisplayStackVisible { get; set; }
+
+ bool IsOn { get; }
+
+ void ClampToScreen(RectTransform rectTransform);
+
+ Vector3 GetAnchor();
+
+ IList<ISectionModule> GetCustomSections();
+
+ IList<ISectionModule> GetStockSections();
+
+ ISectionModule NewCustomSection();
+ }
+}
--- /dev/null
+++ b/KerbalEngineer.Unity/Flight/ISectionModule.cs
@@ -1,1 +1,31 @@
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+namespace KerbalEngineer.Unity.Flight
+{
+ public interface ISectionModule
+ {
+ bool IsDeleted { get; }
+
+ bool IsEditorVisible { get; set; }
+
+ bool IsVisible { get; set; }
+
+ string Name { get; }
+ }
+}
--- /dev/null
+++ b/KerbalEngineer.Unity/KerbalEngineer.Unity.csproj
@@ -1,1 +1,66 @@
-
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{5387BB1E-32B1-4BAC-B03F-100570B9554C}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>KerbalEngineer.Unity</RootNamespace>
+ <AssemblyName>KerbalEngineer.Unity</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>..\Output\KerbalEngineer\</OutputPath>
+ <DefineConstants>
+ </DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="CanvasGroupFader.cs" />
+ <Compile Include="Flight\FlightMenu.cs" />
+ <Compile Include="Flight\FlightMenuSection.cs" />
+ <Compile Include="Flight\IFlightAppLauncher.cs" />
+ <Compile Include="Flight\ISectionModule.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Reference Include="System">
+ <HintPath>..\..\game\KSP_Data\Managed\System.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="UnityEngine">
+ <HintPath>..\..\game\KSP_Data\Managed\UnityEngine.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="UnityEngine.UI">
+ <HintPath>..\..\game\KSP_Data\Managed\UnityEngine.UI.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <PropertyGroup>
+ <PostBuildEvent>copy "$(TargetPath)" "$(SolutionDir)Assets\Plugins" /Y</PostBuildEvent>
+ </PropertyGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
--- /dev/null
+++ b/KerbalEngineer.Unity/Properties/AssemblyInfo.cs
@@ -1,1 +1,10 @@
+using System.Reflection;
+using System.Runtime.InteropServices;
+[assembly: AssemblyTitle("KerbalEngineer.Unity")]
+[assembly: AssemblyProduct("KerbalEngineer.Unity")]
+[assembly: AssemblyCopyright("Copyright © CYBUTEK 2016")]
+[assembly: ComVisible(false)]
+[assembly: Guid("5387bb1e-32b1-4bac-b03f-100570b9554c")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
--- a/KerbalEngineer.sln
+++ b/KerbalEngineer.sln
@@ -4,6 +4,8 @@
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KerbalEngineer.CSharp.Editor", "KerbalEngineer.CSharp.Editor.csproj", "{D7B7C6CE-6B5A-CE40-5B7C-9D0E6583E469}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KerbalEngineer", "KerbalEngineer\KerbalEngineer.csproj", "{39806613-E0B7-46E0-89A6-A569EC538CBB}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KerbalEngineer.Unity", "KerbalEngineer.Unity\KerbalEngineer.Unity.csproj", "{5387BB1E-32B1-4BAC-B03F-100570B9554C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -19,6 +21,10 @@
{39806613-E0B7-46E0-89A6-A569EC538CBB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39806613-E0B7-46E0-89A6-A569EC538CBB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39806613-E0B7-46E0-89A6-A569EC538CBB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5387BB1E-32B1-4BAC-B03F-100570B9554C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5387BB1E-32B1-4BAC-B03F-100570B9554C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5387BB1E-32B1-4BAC-B03F-100570B9554C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5387BB1E-32B1-4BAC-B03F-100570B9554C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
--- a/KerbalEngineer/AppLauncherButton.cs
+++ b/KerbalEngineer/AppLauncherButton.cs
@@ -30,7 +30,7 @@
/// <summary>
/// Gets or sets the toggle button state.
/// </summary>
- public bool isOn
+ public bool IsOn
{
get
{
@@ -79,6 +79,23 @@
}
/// <summary>
+ /// Gets the anchor position for pop-up content.
+ /// </summary>
+ public Vector3 GetAnchor()
+ {
+ if (m_Button == null)
+ {
+ return Vector3.zero;
+ }
+
+ Vector3 anchor = m_Button.GetAnchor();
+
+ anchor.x -= 3.0f;
+
+ return anchor;
+ }
+
+ /// <summary>
/// Enables and sets the button to off.
/// </summary>
public void SetOff()
@@ -107,9 +124,9 @@
protected virtual void Awake()
{
// cache icon texture
- if (m_IconTexture == null && AssetBundleLoader.images != null)
- {
- m_IconTexture = AssetBundleLoader.images.LoadAsset<Texture2D>("app-launcher-icon");
+ if (m_IconTexture == null && AssetBundleLoader.Images != null)
+ {
+ m_IconTexture = AssetBundleLoader.Images.LoadAsset<Texture2D>("app-launcher-icon");
}
// subscribe event listeners
--- a/KerbalEngineer/AssetBundleLoader.cs
+++ b/KerbalEngineer/AssetBundleLoader.cs
@@ -1,4 +1,22 @@
-namespace KerbalEngineer
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+namespace KerbalEngineer
{
using UnityEngine;
@@ -11,7 +29,7 @@
/// <summary>
/// Gets the loaded images asset bundle.
/// </summary>
- public static AssetBundle images
+ public static AssetBundle Images
{
get
{
@@ -22,7 +40,7 @@
/// <summary>
/// Gets the loaded prefabs asset bundle.
/// </summary>
- public static AssetBundle prefabs
+ public static AssetBundle Prefabs
{
get
{
--- a/KerbalEngineer/Editor/BuildAppLauncher.cs
+++ b/KerbalEngineer/Editor/BuildAppLauncher.cs
@@ -48,7 +48,7 @@
if (EditorLogic.RootPart != null)
{
// set button state based on existing visibility
- isOn = BuildAdvanced.Instance.Visible;
+ IsOn = BuildAdvanced.Instance.Visible;
}
else
{
--- a/KerbalEngineer/Flight/ActionMenu.cs
+++ b/KerbalEngineer/Flight/ActionMenu.cs
@@ -32,7 +32,7 @@
/// <summary>
/// Graphical controller for section interaction in the form of a menu system.
/// </summary>
- [KSPAddon(KSPAddon.Startup.Flight, false)]
+ //[KSPAddon(KSPAddon.Startup.Flight, false)]
public class ActionMenu : MonoBehaviour
{
#region Fields
--- a/KerbalEngineer/Flight/DisplayStack.cs
+++ b/KerbalEngineer/Flight/DisplayStack.cs
@@ -70,7 +70,14 @@
public bool ShowControlBar
{
get { return this.showControlBar; }
- set { this.showControlBar = value; }
+ set
+ {
+ if (showControlBar != value)
+ {
+ this.showControlBar = value;
+ RequestResize();
+ }
+ }
}
#endregion
@@ -121,7 +128,6 @@
try
{
this.Save();
- RenderingManager.RemoveFromPostDrawQueue(0, this.Draw);
}
catch (Exception ex)
{
@@ -140,7 +146,6 @@
this.windowId = this.GetHashCode();
this.InitialiseStyles();
this.Load();
- RenderingManager.AddToPostDrawQueue(0, this.Draw);
Logger.Log("ActionMenu->Start");
}
catch (Exception ex)
@@ -176,7 +181,7 @@
/// <summary>
/// Called to draw the display stack when the UI is enabled.
/// </summary>
- private void Draw()
+ private void OnGUI()
{
try
{
--- /dev/null
+++ b/KerbalEngineer/Flight/FlightAppLauncher.cs
@@ -1,1 +1,222 @@
-
+//
+// Kerbal Engineer Redux
+//
+// Copyright (C) 2016 CYBUTEK
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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. See the
+// GNU General Public License for more details.
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
+namespace KerbalEngineer.Flight
+{
+ using System.Collections.Generic;
+ using KSP.UI;
+ using Sections;
+ using Unity.Flight;
+ using UnityEngine;
+
+ [KSPAddon(KSPAddon.Startup.Flight, false)]
+ public class FlightAppLauncher : AppLauncherButton, IFlightAppLauncher
+ {
+ private static FlightAppLauncher m_Instance;
+ private FlightMenu m_FlightMenu;
+ private GameObject m_MenuObject;
+ private GameObject m_MenuPrefab;
+
+ /// <summary>
+ /// Gets the current instance of the FlightAppLauncher object.
+ /// </summary>
+ public static FlightAppLauncher Instance
+ {
+ get
+ {
+ return m_Instance;
+ }
+ }
+
+ /// <summary>
+ /// Clamps the given rect transform within the screen bounds.
+ /// </summary>
+ public void ClampToScreen(RectTransform rectTransform)
+ {
+ UIMasterController.ClampToScreen(rectTransform, Vector2.zero);
+ }
+
+ /// <summary>
+ /// Gets a list of custom sections.
+ /// </summary>
+ IList<ISectionModule> IFlightAppLauncher.GetCustomSections()
+ {
+ return new List<ISectionModule>(SectionLibrary.CustomSections.ToArray());
+ }
+
+ /// <summary>
+ /// Gets a list of stock sections.
+ /// </summary>
+ public IList<ISectionModule> GetStockSections()
+ {
+ return new List<ISectionModule>(SectionLibrary.StockSections.ToArray());
+ }
+
+ /// <summary>
+ /// Gets or sets the control bar's visibility.
+ /// </summary>
+ public bool IsControlBarVisible
+ {
+ get
+ {
+ if (DisplayStack.Instance != null)
+ {
+ return DisplayStack.Instance.ShowControlBar;
+ }
+
+ return false;
+ }
+ set
+ {
+ if (DisplayStack.Instance != null)
+ {
+ DisplayStack.Instance.ShowControlBar = value;
+ }
+ }
+ }
+
+ /// <summary>
+ /// Gets or sets the display stack's visibility.
+ /// </summary>
+ public bool IsDisplayStackVisible
+ {
+ get
+ {
+ if (DisplayStack.Instance != null)
+ {
+ return DisplayStack.Instance.Hidden == false;
+ }
+
+ return false;
+ }
+ set
+ {
+ if (DisplayStack.Instance != null)
+ {
+ DisplayStack.Instance.Hidden = !value;
+ }
+ }
+ }
+
+ /// <summary>
+ /// Creates and initialises a new custom section.
+ /// </summary>
+ public ISectionModule NewCustomSection()
+ {
+ SectionModule section = new SectionModule
+ {
+ Name = "Custom " + (SectionLibrary.CustomSections.Count + 1),
+ Abbreviation = "CUST " + (SectionLibrary.CustomSections.Count + 1),
+ IsVisible = true,
+ IsCustom = true,
+ IsEditorVisible = true
+ };
+
+ SectionLibrary.CustomSections.Add(section);
+
+ return section;
+ }
+
+ protected override void Awake()
+ {
+ base.Awake();
+
+ // set singleton instance
+ m_Instance = this;
+
+ // cache menu prefab
+ if (m_MenuPrefab == null && AssetBundleLoader.Prefabs != null)
+ {
+ m_MenuPrefab = AssetBundleLoader.Prefabs.LoadAsset<GameObject>("FlightMenu");
+ }
+ }
+
+ protected override void OnFalse()
+ {
+ Close();
+ }
+
+ protected override void OnHover()
+ {
+ Open();
+ }
+
+ protected override void OnHoverOut()
+ {
+ if (IsOn == false)
+ {
+ Close();
+ }
+ }
+
+ protected override void OnTrue()
+ {
+ Open();
+ }
+
+ /// <summary>
+ /// Closes the menu.
+ /// </summary>
+ private void Close()
+ {
+ if (m_FlightMenu != null)
+ {
+ m_FlightMenu.Close();
+ }
+ else
+ {
+ Destroy(m_MenuObject);
+ }
+ }
+
+ /// <summary>
+ /// Opens the menu.
+ /// </summary>
+ private void Open()
+ {
+ // fade menu in if already open
+ if (m_FlightMenu != null)
+ {
+ m_FlightMenu.FadeIn();
+ return;
+ }
+
+ if (m_MenuPrefab == null || m_MenuObject != null)
+ {
+ return;
+ }
+
+ // create object
+ m_MenuObject = Instantiate(m_MenuPrefab, GetAnchor(), Quaternion.identity) as GameObject;
+ if (m_MenuObject == null)
+ {
+ return;
+ }
+
+ // set object as a child of the main canvas
+ m_MenuObject.transform.SetParent(MainCanvasUtil.MainCanvas.transform);
+
+ // set menu's reference to this object for cross-communication
+ m_FlightMenu = m_MenuObject.GetComponent<FlightMenu>();
+ if (m_FlightMenu != null)
+ {
+ m_FlightMenu.SetFlightAppLauncher(this);
+ }
+ }
+ }
+}
--- a/KerbalEngineer/Flight/FlightEngineerCore.cs
+++ b/KerbalEngineer/Flight/FlightEngineerCore.cs
@@ -113,6 +113,11 @@
{
get
{
+ if (MainCanvasUtil.MainCanvas.enabled == false)
+ {
+ return false;
+ }
+
if (isCareerMode)
{
if (isKerbalLimited && FlightGlobals.ActiveVessel.GetVesselCrew().Exists(c => c.experienceTrait.TypeName == "Engineer"))
--- a/KerbalEngineer/Flight/Sections/SectionEditor.cs
+++ b/KerbalEngineer/Flight/Sections/SectionEditor.cs
@@ -103,7 +103,6 @@
{
try
{
- RenderingManager.RemoveFromPostDrawQueue(0, this.Draw);
}
catch (Exception ex)
{
@@ -120,7 +119,6 @@
{
this.InitialiseStyles();
//ReadoutCategory.Selected = ReadoutCategory.GetCategory("Orbital");
- RenderingManager.AddToPostDrawQueue(0, this.Draw);
}
catch (Exception ex)
{
@@ -135,8 +133,13 @@
/// <summary>
/// Called to draw the editor when the UI is enabled.
/// </summary>
- private void Draw()
- {
+ private void OnGUI()
+ {
+ if (FlightEngineerCore.IsDisplayable == false)
+ {
+ return;
+ }
+
this.position = GUILayout.Window(this.GetInstanceID(), this.position, this.Window, "EDIT SECTION - " + this.ParentSection.Name.ToUpper(), this.windowStyle).ClampToScreen();
this.ParentSection.EditorPositionX = this.position.x;
this.ParentSection.EditorPositionY = this.position.y;
@@ -233,6 +236,7 @@
{
this.ParentSection.IsFloating = false;
this.ParentSection.IsEditorVisible = false;
+ this.ParentSection.IsDeleted = true;
SectionLibrary.CustomSections.Remove(this.ParentSection);
DisplayStack.Instance.RequestResize();
}
--- a/KerbalEngineer/Flight/Sections/SectionModule.cs
+++ b/KerbalEngineer/Flight/Sections/SectionModule.cs
@@ -31,10 +31,11 @@
namespace KerbalEngineer.Flight.Sections
{
+ using Unity.Flight;
/// <summary>
/// Object for management and display of readout modules.
/// </summary>
- public class SectionModule
+ public class SectionModule : ISectionModule
{
#region Fields
@@ -156,6 +157,11 @@
}
}
}
+
+ /// <summary>
+ /// Gets and sets whether the section module has been deleted.
+ /// </summary>
+ public bool IsDeleted { get; set; }
/// <summary>
/// Gets and sets whether the section module has a background as a HUD.
--- a/KerbalEngineer/Flight/Sections/SectionWindow.cs
+++ b/KerbalEngineer/Flight/Sections/SectionWindow.cs
@@ -116,7 +116,7 @@
/// <summary>
/// Called to draw the floating section window when the UI is enabled.
/// </summary>
- private void Draw()
+ private void OnGUI()
{
if (this.ParentSection == null || !this.ParentSection.IsVisible || (DisplayStack.Instance.Hidden && !this.ParentSection.IsHud) || !FlightEngineerCore.IsDisplayable)
{
@@ -165,7 +165,6 @@
/// </summary>
private void OnDestroy()
{
- RenderingManager.RemoveFromPostDrawQueue(0, this.Draw);
GuiDisplaySize.OnSizeChanged -= this.OnSizeChanged;
}
@@ -192,7 +191,7 @@
{
this.windowId = this.GetHashCode();
this.InitialiseStyles();
- RenderingManager.AddToPostDrawQueue(0, this.Draw);
+
GuiDisplaySize.OnSizeChanged += this.OnSizeChanged;
}
--- a/KerbalEngineer/KerbalEngineer.csproj
+++ b/KerbalEngineer/KerbalEngineer.csproj
@@ -277,7 +277,13 @@
<Private>False</Private>
</Reference>
</ItemGroup>
- <ItemGroup />
+ <ItemGroup>
+ <ProjectReference Include="..\KerbalEngineer.Unity\KerbalEngineer.Unity.csproj">
+ <Project>{5387bb1e-32b1-4bac-b03f-100570b9554c}</Project>
+ <Name>KerbalEngineer.Unity</Name>
+ <Private>False</Private>
+ </ProjectReference>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="PostBuildMacros">
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
Binary files a/Output/KerbalEngineer/KerbalEngineer and b/Output/KerbalEngineer/KerbalEngineer differ
Binary files /dev/null and b/Output/KerbalEngineer/KerbalEngineer.Unity.dll differ
Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ
--- a/Output/KerbalEngineer/KerbalEngineer.manifest
+++ b/Output/KerbalEngineer/KerbalEngineer.manifest
@@ -4,4 +4,7 @@
Info_0:
Name: images
Dependencies: {}
+ Info_1:
+ Name: prefabs
+ Dependencies: {}
--- a/Output/KerbalEngineer/KerbalEngineer.version
+++ b/Output/KerbalEngineer/KerbalEngineer.version
@@ -11,8 +11,8 @@
"KSP_VERSION":
{
"MAJOR":1,
- "MINOR":0,
- "PATCH":5
+ "MINOR":1,
+ "PATCH":0
}
}
Binary files a/Output/KerbalEngineer/images and b/Output/KerbalEngineer/images differ
--- a/Output/KerbalEngineer/images.manifest
+++ b/Output/KerbalEngineer/images.manifest
@@ -1,9 +1,9 @@
ManifestFileVersion: 0
-CRC: 343068190
+CRC: 2833314722
Hashes:
AssetFileHash:
serializedVersion: 2
- Hash: 73ea3b515ebabb6bdff35e92d0c2ad1b
+ Hash: b45648c25b082800bed1fc56179dfff5
TypeTreeHash:
serializedVersion: 2
Hash: 00ffc586b3c4c12c72c7fed589b81235
Binary files /dev/null and b/Output/KerbalEngineer/prefabs differ
--- /dev/null
+++ b/Output/KerbalEngineer/prefabs.manifest
@@ -1,1 +1,52 @@
+ManifestFileVersion: 0
+CRC: 3889460463
+Hashes:
+ AssetFileHash:
+ serializedVersion: 2
+ Hash: dc7af1c2d3aa8684359541d179f53bae
+ TypeTreeHash:
+ serializedVersion: 2
+ Hash: a43c45227b2ed7e5db39229032ceda8b
+HashAppended: 0
+ClassTypes:
+- Class: 1
+ Script: {instanceID: 0}
+- Class: 21
+ Script: {instanceID: 0}
+- Class: 28
+ Script: {instanceID: 0}
+- Class: 48
+ Script: {instanceID: 0}
+- Class: 114
+ Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: 1741964061, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: 1679637790, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: 2109663825, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: 1297475563, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+- Class: 114
+ Script: {fileID: 571159103, guid: a3a55138b08428847a08c7b48fe72efe, type: 3}
+- Class: 114
+ Script: {fileID: -1842827791, guid: a3a55138b08428847a08c7b48fe72efe, type: 3}
+- Class: 115
+ Script: {instanceID: 0}
+- Class: 128
+ Script: {instanceID: 0}
+- Class: 222
+ Script: {instanceID: 0}
+- Class: 224
+ Script: {instanceID: 0}
+- Class: 225
+ Script: {instanceID: 0}
+Assets:
+- Assets/Prefabs/FlightMenuSection.prefab
+- Assets/Prefabs/FlightMenu.prefab
+Dependencies: []
--- a/ProjectSettings/ClusterInputManager.asset
+++ /dev/null
@@ -1,7 +1,1 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!236 &1
-ClusterInputManager:
- m_ObjectHideFlags: 0
- m_Inputs: []
--- a/ProjectSettings/DynamicsManager.asset
+++ b/ProjectSettings/DynamicsManager.asset
@@ -4,11 +4,11 @@
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 2
- m_Gravity: {x: 0, y: -9.81, z: 0}
+ m_Gravity: {x: 0, y: -9.81000042, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
- m_SleepThreshold: 0.005
- m_DefaultContactOffset: 0.01
+ m_SleepThreshold: .00499999989
+ m_DefaultContactOffset: .00999999978
m_SolverIterationCount: 6
m_QueriesHitTriggers: 1
m_EnableAdaptiveForce: 0
--- a/ProjectSettings/EditorBuildSettings.asset
+++ b/ProjectSettings/EditorBuildSettings.asset
@@ -4,7 +4,5 @@
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
- m_Scenes:
- - enabled: 1
- path: Assets/Scenes/Scene-Main.unity
+ m_Scenes: []
--- a/ProjectSettings/GraphicsSettings.asset
+++ b/ProjectSettings/GraphicsSettings.asset
@@ -3,7 +3,7 @@
--- !u!30 &1
GraphicsSettings:
m_ObjectHideFlags: 0
- serializedVersion: 5
+ serializedVersion: 4
m_Deferred:
m_Mode: 1
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
@@ -21,17 +21,14 @@
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
- m_ShaderSettings:
- useScreenSpaceShadows: 1
- m_BuildTargetShaderSettings: []
m_LightmapStripping: 0
- m_FogStripping: 0
m_LightmapKeepPlain: 1
m_LightmapKeepDirCombined: 1
m_LightmapKeepDirSeparate: 1
m_LightmapKeepDynamicPlain: 1
m_LightmapKeepDynamicDirCombined: 1
m_LightmapKeepDynamicDirSeparate: 1
+ m_FogStripping: 0
m_FogKeepLinear: 1
m_FogKeepExp: 1
m_FogKeepExp2: 1
--- a/ProjectSettings/InputManager.asset
+++ b/ProjectSettings/InputManager.asset
@@ -14,7 +14,7 @@
altNegativeButton: a
altPositiveButton: d
gravity: 3
- dead: 0.001
+ dead: .00100000005
sensitivity: 3
snap: 1
invert: 0
@@ -30,7 +30,7 @@
altNegativeButton: s
altPositiveButton: w
gravity: 3
- dead: 0.001
+ dead: .00100000005
sensitivity: 3
snap: 1
invert: 0
@@ -46,7 +46,7 @@
altNegativeButton:
altPositiveButton: mouse 0
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -62,7 +62,7 @@
altNegativeButton:
altPositiveButton: mouse 1
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -78,7 +78,7 @@
altNegativeButton:
altPositiveButton: mouse 2
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -94,7 +94,7 @@
altNegativeButton:
altPositiveButton:
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -111,7 +111,7 @@
altPositiveButton:
gravity: 0
dead: 0
- sensitivity: 0.1
+ sensitivity: .100000001
snap: 0
invert: 0
type: 1
@@ -127,7 +127,7 @@
altPositiveButton:
gravity: 0
dead: 0
- sensitivity: 0.1
+ sensitivity: .100000001
snap: 0
invert: 0
type: 1
@@ -143,7 +143,7 @@
altPositiveButton:
gravity: 0
dead: 0
- sensitivity: 0.1
+ sensitivity: .100000001
snap: 0
invert: 0
type: 1
@@ -158,7 +158,7 @@
altNegativeButton:
altPositiveButton:
gravity: 0
- dead: 0.19
+ dead: .189999998
sensitivity: 1
snap: 0
invert: 0
@@ -174,7 +174,7 @@
altNegativeButton:
altPositiveButton:
gravity: 0
- dead: 0.19
+ dead: .189999998
sensitivity: 1
snap: 0
invert: 1
@@ -190,7 +190,7 @@
altNegativeButton:
altPositiveButton:
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -206,7 +206,7 @@
altNegativeButton:
altPositiveButton:
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -222,7 +222,7 @@
altNegativeButton:
altPositiveButton:
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -238,7 +238,7 @@
altNegativeButton:
altPositiveButton:
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -254,7 +254,7 @@
altNegativeButton:
altPositiveButton: joystick button 0
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -270,7 +270,7 @@
altNegativeButton:
altPositiveButton: space
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
@@ -286,7 +286,7 @@
altNegativeButton:
altPositiveButton: joystick button 1
gravity: 1000
- dead: 0.001
+ dead: .00100000005
sensitivity: 1000
snap: 0
invert: 0
--- a/ProjectSettings/Physics2DSettings.asset
+++ b/ProjectSettings/Physics2DSettings.asset
@@ -4,20 +4,20 @@
Physics2DSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
- m_Gravity: {x: 0, y: -9.81}
+ m_Gravity: {x: 0, y: -9.81000042}
m_DefaultMaterial: {fileID: 0}
m_VelocityIterations: 8
m_PositionIterations: 3
m_VelocityThreshold: 1
- m_MaxLinearCorrection: 0.2
+ m_MaxLinearCorrection: .200000003
m_MaxAngularCorrection: 8
m_MaxTranslationSpeed: 100
m_MaxRotationSpeed: 360
- m_MinPenetrationForPenalty: 0.01
- m_BaumgarteScale: 0.2
- m_BaumgarteTimeOfImpactScale: 0.75
- m_TimeToSleep: 0.5
- m_LinearSleepTolerance: 0.01
+ m_MinPenetrationForPenalty: .00999999978
+ m_BaumgarteScale: .200000003
+ m_BaumgarteTimeOfImpactScale: .75
+ m_TimeToSleep: .5
+ m_LinearSleepTolerance: .00999999978
m_AngularSleepTolerance: 2
m_QueriesHitTriggers: 1
m_QueriesStartInColliders: 1
--- a/ProjectSettings/ProjectSettings.asset
+++ b/ProjectSettings/ProjectSettings.asset
@@ -10,8 +10,8 @@
targetResolution: 0
useOnDemandResources: 0
accelerometerFrequency: 60
- companyName: CYBUTEK Solutions
- productName: KerbalEngineer
+ companyName: DefaultCompany
+ productName: New Unity Project
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_ShowUnitySplashScreen: 1
@@ -37,7 +37,7 @@
useOSAutorotation: 1
use32BitDisplayBuffer: 1
disableDepthAndStencilBuffers: 0
- defaultIsFullScreen: 0
+ defaultIsFullScreen: 1
defaultIsNativeResolution: 1
runInBackground: 0
captureSingleScreen: 0
@@ -92,7 +92,7 @@
metroEnableLowLatencyPresentationAPI: 0
xboxOneDisableKinectGpuReservation: 0
virtualRealitySupported: 0
- productGUID: d4b9966657a10f244b36c2bf33b7aaf5
+ productGUID: affd9915876e7bc42a4bf20f2a215263
AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 9
AndroidPreferredInstallLocation: 1
@@ -161,13 +161,7 @@
banner: {fileID: 0}
androidGamepadSupportLevel: 0
resolutionDialogBanner: {fileID: 0}
- m_BuildTargetIcons:
- - m_BuildTarget:
- m_Icons:
- - serializedVersion: 2
- m_Icon: {fileID: 0}
- m_Width: 128
- m_Height: 128
+ m_BuildTargetIcons: []
m_BuildTargetBatching: []
m_BuildTargetGraphicsAPIs: []
webPlayerTemplate: APPLICATION:Default
@@ -320,7 +314,7 @@
psmSplashimage: {fileID: 0}
spritePackerPolicy:
scriptingDefineSymbols: {}
- metroPackageName: KerbalEngineer-Unity
+ metroPackageName: New Unity Project
metroPackageLogo:
metroPackageLogo140:
metroPackageLogo180:
@@ -331,7 +325,7 @@
metroCertificateSubject:
metroCertificateIssuer:
metroCertificateNotAfter: 0000000000000000
- metroApplicationDescription: KerbalEngineer-Unity
+ metroApplicationDescription: New Unity Project
metroStoreTileLogo80:
metroStoreTileLogo:
metroStoreTileLogo140:
@@ -378,9 +372,9 @@
metroWideTileShowName: 0
metroDefaultTileSize: 1
metroTileForegroundText: 1
- metroTileBackgroundColor: {r: .13333334, g: .172549024, b: .215686277, a: 0}
- metroSplashScreenBackgroundColor: {r: .13333334, g: .172549024, b: .215686277, a: 1}
- metroSplashScreenUseBackgroundColor: 1
+ metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
+ metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1}
+ metroSplashScreenUseBackgroundColor: 0
platformCapabilities: {}
metroFTAName:
metroFTAFileTypes: []
@@ -457,9 +451,6 @@
- iOS::Architecture
- iOS::EnableIncrementalBuildSupportForIl2cpp
- iOS::ScriptingBackend
- - tvOS::Architecture
- - tvOS::EnableIncrementalBuildSupportForIl2cpp
- - tvOS::ScriptingBackend
Android::ScriptingBackend: 0
Metro::ScriptingBackend: 2
Standalone::ScriptingBackend: 0
@@ -472,9 +463,6 @@
iOS::Architecture: 2
iOS::EnableIncrementalBuildSupportForIl2cpp: 1
iOS::ScriptingBackend: 1
- tvOS::Architecture: 1
- tvOS::EnableIncrementalBuildSupportForIl2cpp: 0
- tvOS::ScriptingBackend: 1
boolPropertyNames:
- WebGL::analyzeBuildSize
- WebGL::dataCaching
--- a/ProjectSettings/QualitySettings.asset
+++ b/ProjectSettings/QualitySettings.asset
@@ -15,8 +15,8 @@
shadowCascades: 1
shadowDistance: 15
shadowNearPlaneOffset: 2
- shadowCascade2Split: 0.33333334
- shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
+ shadowCascade2Split: .333333343
+ shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 1
textureQuality: 1
anisotropicTextures: 0
@@ -26,11 +26,9 @@
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
- lodBias: 0.3
+ lodBias: .300000012
maximumLODLevel: 0
particleRaycastBudget: 4
- asyncUploadTimeSlice: 2
- asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Fast
@@ -41,8 +39,8 @@
shadowCascades: 1
shadowDistance: 20
shadowNearPlaneOffset: 2
- shadowCascade2Split: 0.33333334
- shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
+ shadowCascade2Split: .333333343
+ shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 0
@@ -52,11 +50,9 @@
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
- lodBias: 0.4
+ lodBias: .400000006
maximumLODLevel: 0
particleRaycastBudget: 16
- asyncUploadTimeSlice: 2
- asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Simple
@@ -67,8 +63,8 @@
shadowCascades: 1
shadowDistance: 20
shadowNearPlaneOffset: 2
- shadowCascade2Split: 0.33333334
- shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
+ shadowCascade2Split: .333333343
+ shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
@@ -78,11 +74,9 @@
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
- lodBias: 0.7
+ lodBias: .699999988
maximumLODLevel: 0
particleRaycastBudget: 64
- asyncUploadTimeSlice: 2
- asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Good
@@ -93,8 +87,8 @@
shadowCascades: 2
shadowDistance: 40
shadowNearPlaneOffset: 2
- shadowCascade2Split: 0.33333334
- shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
+ shadowCascade2Split: .333333343
+ shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
@@ -107,8 +101,6 @@
lodBias: 1
maximumLODLevel: 0
particleRaycastBudget: 256
- asyncUploadTimeSlice: 2
- asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Beautiful
@@ -119,8 +111,8 @@
shadowCascades: 2
shadowDistance: 70
shadowNearPlaneOffset: 2
- shadowCascade2Split: 0.33333334
- shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
+ shadowCascade2Split: .333333343
+ shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 4
textureQuality: 0
anisotropicTextures: 2
@@ -133,8 +125,6 @@
lodBias: 1.5
maximumLODLevel: 0
particleRaycastBudget: 1024
- asyncUploadTimeSlice: 2
- asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Fantastic
@@ -145,8 +135,8 @@
shadowCascades: 4
shadowDistance: 150
shadowNearPlaneOffset: 2
- shadowCascade2Split: 0.33333334
- shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
+ shadowCascade2Split: .333333343
+ shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 4
textureQuality: 0
anisotropicTextures: 2
@@ -159,8 +149,6 @@
lodBias: 2
maximumLODLevel: 0
particleRaycastBudget: 4096
- asyncUploadTimeSlice: 2
- asyncUploadBufferSize: 4
excludedTargetPlatforms: []
m_PerPlatformDefaultQuality:
Android: 2
@@ -177,10 +165,9 @@
WP8: 5
Web: 5
WebGL: 3
- WiiU: 5
+ Wii U: 5
Windows Store Apps: 5
XBOX360: 5
XboxOne: 5
iPhone: 2
- tvOS: 5
--- a/ProjectSettings/TimeManager.asset
+++ b/ProjectSettings/TimeManager.asset
@@ -3,7 +3,7 @@
--- !u!5 &1
TimeManager:
m_ObjectHideFlags: 0
- Fixed Timestep: 0.02
- Maximum Allowed Timestep: 0.33333334
+ Fixed Timestep: .0199999996
+ Maximum Allowed Timestep: .333333343
m_TimeScale: 1
--- a/ProjectSettings/UnityConnectSettings.asset
+++ /dev/null
@@ -1,15 +1,1 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!310 &1
-UnityConnectSettings:
- m_ObjectHideFlags: 0
- UnityPurchasingSettings:
- m_Enabled: 0
- m_TestMode: 0
- UnityAnalyticsSettings:
- m_Enabled: 0
- m_InitializeOnStartup: 1
- m_TestMode: 0
- m_TestEventUrl:
- m_TestConfigUrl: