Added Editor Operator Mode switching

This commit is contained in:
Abraham 2023-08-02 12:35:51 -04:00
parent 4f47724059
commit a3543f5038
14 changed files with 887 additions and 244 deletions

View File

@ -219,6 +219,10 @@ GameObject:
- component: {fileID: 7808947354660230629}
- component: {fileID: 8265918331484334251}
- component: {fileID: 8174095187457667184}
- component: {fileID: 4724279742391967697}
- component: {fileID: 4651241675195629332}
- component: {fileID: 5173966962930611957}
- component: {fileID: 2125857015073893514}
m_Layer: 5
m_Name: BoxButton
m_TagString: Untagged
@ -329,34 +333,10 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
- m_Target: {fileID: 11400000, guid: 8f3ef608d11526c44a37a4fe68f9145a, type: 2}
m_TargetAssemblyTypeName: SO.Channels.SimpleChannelSO, Assembly-CSharp
m_MethodName: RaiseEvent
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
@ -379,6 +359,118 @@ MonoBehaviour:
m_EditorClassIdentifier:
colorA: {r: 1, g: 1, b: 1, a: 1}
colorB: {r: 0.3537736, g: 0.9868037, b: 1, a: 1}
--- !u!114 &4724279742391967697
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 433671671896839404}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: b8e9baaca991cb54792d965f5c01d75b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!114 &4651241675195629332
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 433671671896839404}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 8f3ef608d11526c44a37a4fe68f9145a, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: Toggle
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
--- !u!114 &5173966962930611957
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 433671671896839404}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 1cad96debbb5c8b45abd877372bcac1b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!114 &2125857015073893514
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 433671671896839404}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!1 &480153126960825806
GameObject:
m_ObjectHideFlags: 3
@ -403,7 +495,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 480153126960825806}
m_LocalRotation: {x: -0.57506067, y: 0.6474514, z: 0.18244694, w: 0.46564484}
m_LocalRotation: {x: -0.5750607, y: 0.64745134, z: 0.18244688, w: 0.46564484}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -471,6 +563,10 @@ GameObject:
- component: {fileID: 2468737889910189834}
- component: {fileID: 8239953739172262629}
- component: {fileID: 4385230782763361664}
- component: {fileID: 9057680876205400865}
- component: {fileID: 797936529283151099}
- component: {fileID: 5956274255407318527}
- component: {fileID: 4029794987927605786}
m_Layer: 5
m_Name: ArrowButton
m_TagString: Untagged
@ -581,34 +677,10 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
- m_Target: {fileID: 11400000, guid: b8e9baaca991cb54792d965f5c01d75b, type: 2}
m_TargetAssemblyTypeName: SO.Channels.SimpleChannelSO, Assembly-CSharp
m_MethodName: RaiseEvent
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
@ -631,6 +703,118 @@ MonoBehaviour:
m_EditorClassIdentifier:
colorA: {r: 1, g: 1, b: 1, a: 1}
colorB: {r: 0.3537736, g: 0.9868037, b: 1, a: 1}
--- !u!114 &9057680876205400865
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1025200601652927447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: b8e9baaca991cb54792d965f5c01d75b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: Toggle
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
--- !u!114 &797936529283151099
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1025200601652927447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 8f3ef608d11526c44a37a4fe68f9145a, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!114 &5956274255407318527
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1025200601652927447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 1cad96debbb5c8b45abd877372bcac1b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!114 &4029794987927605786
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1025200601652927447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!1 &1307221982407180493
GameObject:
m_ObjectHideFlags: 0
@ -665,6 +849,141 @@ Transform:
m_Father: {fileID: 1867450165178397065}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1790969411709322793
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6989265909940191296}
- component: {fileID: 3802851637096603349}
- component: {fileID: 8371508418018719176}
m_Layer: 5
m_Name: ModeLabel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &6989265909940191296
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790969411709322793}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7670181579206689088}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 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: 0.5, y: 0.5}
--- !u!222 &3802851637096603349
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790969411709322793}
m_CullTransparentMesh: 1
--- !u!114 &8371508418018719176
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1790969411709322793}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'Mode: Cam Scroll'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 32
m_fontSizeBase: 32
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &1866605436582620645
GameObject:
m_ObjectHideFlags: 0
@ -863,6 +1182,7 @@ Transform:
- {fileID: 3248355253502752146}
- {fileID: 1867450165178397065}
- {fileID: 5728501174111050495}
- {fileID: 6064559143831112245}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -988,34 +1308,10 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
- m_Target: {fileID: 11400000, guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2, type: 2}
m_TargetAssemblyTypeName: SO.Channels.SimpleChannelSO, Assembly-CSharp
m_MethodName: RaiseEvent
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
@ -1429,6 +1725,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6989265909940191296}
- {fileID: 6755669036646545233}
- {fileID: 984380356961150121}
- {fileID: 1993728575233634729}
@ -1518,6 +1815,10 @@ GameObject:
- component: {fileID: 2398833806420703296}
- component: {fileID: 7220703698912639852}
- component: {fileID: 3448001934190291171}
- component: {fileID: 674016670056872727}
- component: {fileID: 471332374598064683}
- component: {fileID: 8844188354127242480}
- component: {fileID: 4948572610652620910}
m_Layer: 5
m_Name: RingButton
m_TagString: Untagged
@ -1628,10 +1929,10 @@ MonoBehaviour:
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4385230782763361664}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
- m_Target: {fileID: 11400000, guid: 1cad96debbb5c8b45abd877372bcac1b, type: 2}
m_TargetAssemblyTypeName: SO.Channels.SimpleChannelSO, Assembly-CSharp
m_MethodName: RaiseEvent
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
@ -1640,30 +1941,6 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
- m_Target: {fileID: 8174095187457667184}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
--- !u!114 &3448001934190291171
MonoBehaviour:
m_ObjectHideFlags: 0
@ -1678,6 +1955,118 @@ MonoBehaviour:
m_EditorClassIdentifier:
colorA: {r: 1, g: 1, b: 1, a: 1}
colorB: {r: 0.3537736, g: 0.9868037, b: 1, a: 1}
--- !u!114 &674016670056872727
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4903849881641021726}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: b8e9baaca991cb54792d965f5c01d75b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!114 &471332374598064683
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4903849881641021726}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 8f3ef608d11526c44a37a4fe68f9145a, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!114 &8844188354127242480
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4903849881641021726}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 1cad96debbb5c8b45abd877372bcac1b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: Toggle
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
--- !u!114 &4948572610652620910
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4903849881641021726}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 3448001934190291171}
m_TargetAssemblyTypeName: UI.Utilities.UIColorToggle, Assembly-CSharp
m_MethodName: SetState
m_Mode: 6
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
--- !u!1 &5185739971842128434
GameObject:
m_ObjectHideFlags: 3
@ -1788,6 +2177,169 @@ Transform:
m_Father: {fileID: 3172493511846516457}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &7059958502669520680
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6064559143831112245}
- component: {fileID: 6826236377117202913}
- component: {fileID: 8320534658824827208}
- component: {fileID: 3126237743847313590}
- component: {fileID: 3308246674760821270}
- component: {fileID: 1740053579987529617}
m_Layer: 0
m_Name: ModeSwitcher
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6064559143831112245
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7059958502669520680}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 8760413228547238992}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &6826236377117202913
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7059958502669520680}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8673c19949e2155488da800c00944c20, type: 3}
m_Name:
m_EditorClassIdentifier:
netCodeSpawner: {fileID: 0}
camInputProvider: {fileID: 2888079005784722667}
modeText: {fileID: 8371508418018719176}
--- !u!114 &8320534658824827208
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7059958502669520680}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: b8e9baaca991cb54792d965f5c01d75b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 6826236377117202913}
m_TargetAssemblyTypeName: NetCode.OperatorModeController, Assembly-CSharp
m_MethodName: ToggleMode
m_Mode: 3
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
--- !u!114 &3126237743847313590
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7059958502669520680}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 8f3ef608d11526c44a37a4fe68f9145a, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 6826236377117202913}
m_TargetAssemblyTypeName: NetCode.OperatorModeController, Assembly-CSharp
m_MethodName: ToggleMode
m_Mode: 3
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 1
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &3308246674760821270
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7059958502669520680}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 1cad96debbb5c8b45abd877372bcac1b, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 6826236377117202913}
m_TargetAssemblyTypeName: NetCode.OperatorModeController, Assembly-CSharp
m_MethodName: ToggleMode
m_Mode: 3
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 2
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &1740053579987529617
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7059958502669520680}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 6826236377117202913}
m_TargetAssemblyTypeName: NetCode.OperatorModeController, Assembly-CSharp
m_MethodName: ToggleMode
m_Mode: 3
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: -1
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &7309634879579752424
GameObject:
m_ObjectHideFlags: 0

View File

@ -157,7 +157,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 984380356961150121, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_SizeDelta.y
value: 124.80002
value: 59.97002
objectReference: {fileID: 0}
- target: {fileID: 984380356961150121, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.x
@ -165,7 +165,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 984380356961150121, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.y
value: -287.2
value: -449.27505
objectReference: {fileID: 0}
- target: {fileID: 1993728575233634729, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchorMax.y
@ -181,7 +181,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1993728575233634729, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_SizeDelta.y
value: 124.80002
value: 59.97002
objectReference: {fileID: 0}
- target: {fileID: 1993728575233634729, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.x
@ -189,7 +189,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 1993728575233634729, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.y
value: -512.00006
value: -609.24506
objectReference: {fileID: 0}
- target: {fileID: 2301362472593170023, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_Name
@ -231,34 +231,6 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 4
objectReference: {fileID: 0}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Target
value:
objectReference: {fileID: 529620196}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_MethodName
value: ResetAllContent
objectReference: {fileID: 0}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 4248106151328072557, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 4709475977749918798, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchorMax.y
value: 1
@ -273,7 +245,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4709475977749918798, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_SizeDelta.y
value: 124.80002
value: 59.97002
objectReference: {fileID: 0}
- target: {fileID: 4709475977749918798, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.x
@ -281,7 +253,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4709475977749918798, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.y
value: -736.80005
value: -769.2151
objectReference: {fileID: 0}
- target: {fileID: 4732050508463854983, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
@ -393,7 +365,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6755669036646545233, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_SizeDelta.y
value: 124.80002
value: 59.97002
objectReference: {fileID: 0}
- target: {fileID: 6755669036646545233, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.x
@ -401,107 +373,39 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 6755669036646545233, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.y
value: -62.40001
value: -289.30502
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 4
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Target
- target: {fileID: 6826236377117202913, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: netCodeSpawner
value:
objectReference: {fileID: 529620196}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_MethodName
value: SetActiveContent
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_IntArgument
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_BoolArgument
- target: {fileID: 6989265909940191296, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7220703698912639852, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 4
objectReference: {fileID: 0}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Target
value:
objectReference: {fileID: 529620196}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_MethodName
value: SetActiveContent
objectReference: {fileID: 0}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 8239953739172262629, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 4
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Mode
value: 3
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Target
value:
objectReference: {fileID: 529620196}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_MethodName
value: SetActiveContent
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_TargetAssemblyTypeName
value: NetCode.NetCodeSpawner, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_IntArgument
- target: {fileID: 6989265909940191296, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8265918331484334251, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[3].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
- target: {fileID: 6989265909940191296, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_SizeDelta.x
value: 200.6001
objectReference: {fileID: 0}
- target: {fileID: 6989265909940191296, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_SizeDelta.y
value: 159.32002
objectReference: {fileID: 0}
- target: {fileID: 6989265909940191296, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.x
value: 100.30005
objectReference: {fileID: 0}
- target: {fileID: 6989265909940191296, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchoredPosition.y
value: -79.66001
objectReference: {fileID: 0}
- target: {fileID: 8310481215177165566, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_IsActive
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8740223567327763973, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_AnchorMax.x
@ -585,19 +489,19 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.w
value: 0.46564484
value: 0.46564478
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.x
value: -0.57506067
value: -0.5750607
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.y
value: 0.6474514
value: 0.64745134
objectReference: {fileID: 0}
- target: {fileID: 9003280476463495717, guid: 0b23aeada06226942bfb56eaf745d2be, type: 3}
propertyPath: m_LocalRotation.z
value: 0.18244694
value: 0.18244691
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
@ -627,6 +531,7 @@ GameObject:
- component: {fileID: 529620194}
- component: {fileID: 529620196}
- component: {fileID: 529620193}
- component: {fileID: 529620198}
m_Layer: 0
m_Name: NetworkManager
m_TagString: Untagged
@ -751,6 +656,34 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &529620198
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 529620192}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 331c1f2a2622ced4683798f893b60691, type: 3}
m_Name:
m_EditorClassIdentifier:
channel: {fileID: 11400000, guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2, type: 2}
response:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 529620196}
m_TargetAssemblyTypeName: NetCode.NetCodeSpawner, Assembly-CSharp
m_MethodName: ResetAllContent
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
--- !u!1001 &839431831
PrefabInstance:
m_ObjectHideFlags: 0

View File

@ -24,12 +24,12 @@ namespace NetCode
public void SetActiveContent(int index)
{
StopAllCoroutines();
if (index < 0) return;
if (index >= childCount) return;
PositionClicker currentClicker = childClickers[index];
StopAllCoroutines();
StartCoroutine(UpdateChild());
IEnumerator UpdateChild()

View File

@ -0,0 +1,51 @@
using System;
using MAVRIC.Input;
using TMPro;
using UnityEngine;
namespace NetCode
{
public class OperatorModeController : MonoBehaviour
{
[SerializeField] private NetCodeSpawner netCodeSpawner;
[SerializeField] private MAVRICCinemachineInputProvider camInputProvider;
[SerializeField] private TextMeshProUGUI modeText;
private string camModeLabel = "Mode:\nCam\nScroll";
private string contentModeLabel = "Mode:\nContent\nPlacement";
private int selectedIndex = -1;
private void Start()
{
SetScrollMode();
}
public void ToggleMode(int index)
{
if (selectedIndex == index || index == -1)
{
SetScrollMode();
return;
}
SetPositionMode(index);
}
public void SetScrollMode()
{
selectedIndex = -1;
netCodeSpawner.SetActiveContent(selectedIndex);
camInputProvider.enabled = true;
modeText.text = camModeLabel;
}
public void SetPositionMode(int index)
{
selectedIndex = index;
camInputProvider.enabled = false;
netCodeSpawner.SetActiveContent(index);
modeText.text = contentModeLabel;
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8673c19949e2155488da800c00944c20
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e4aaafb83a743b842b876bdd90a46e1e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f0cacf97afa8ecd4b9be403677b76e4e, type: 3}
m_Name: ArrowButtonPressed
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b8e9baaca991cb54792d965f5c01d75b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f0cacf97afa8ecd4b9be403677b76e4e, type: 3}
m_Name: BoxButtonPressed
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8f3ef608d11526c44a37a4fe68f9145a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f0cacf97afa8ecd4b9be403677b76e4e, type: 3}
m_Name: ResetButtonPressed
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3aeb2afd6b7e4d24dbb1813d55a8acc2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f0cacf97afa8ecd4b9be403677b76e4e, type: 3}
m_Name: RingButtonPressed
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1cad96debbb5c8b45abd877372bcac1b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: