webgl
This commit is contained in:
@@ -65,10 +65,10 @@ MonoBehaviour:
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_text: new text
|
||||
m_text:
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
|
||||
m_fontAsset: {fileID: 11400000, guid: f033b96aa66acfd4b84aa16e32cfc660, type: 2}
|
||||
m_sharedMaterial: {fileID: 6975767319296004534, guid: f033b96aa66acfd4b84aa16e32cfc660, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
@@ -171,8 +171,8 @@ RectTransform:
|
||||
- {fileID: 4548044308160037426}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: -515}
|
||||
m_SizeDelta: {x: 50, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 1}
|
||||
|
||||
77
Assets/Prefabs/tempLine.prefab
Normal file
77
Assets/Prefabs/tempLine.prefab
Normal file
@@ -0,0 +1,77 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &8833923113570994554
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7346496638895690308}
|
||||
- component: {fileID: 3560517003531544791}
|
||||
- component: {fileID: 6254276411767355245}
|
||||
m_Layer: 5
|
||||
m_Name: tempLine
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7346496638895690308
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8833923113570994554}
|
||||
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: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 10, y: 5}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3560517003531544791
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8833923113570994554}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &6254276411767355245
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8833923113570994554}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 0, b: 0, 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_Sprite: {fileID: 0}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
@@ -1,8 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8105016687592461f977c054a80ce2f2
|
||||
NativeFormatImporter:
|
||||
guid: c899c98324602eb4fbe900753508f64d
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,34 +0,0 @@
|
||||
%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: fcf7219bab7fe46a1ad266029b2fee19, type: 3}
|
||||
m_Name: Readme
|
||||
m_EditorClassIdentifier:
|
||||
icon: {fileID: 2800000, guid: 727a75301c3d24613a3ebcec4a24c2c8, type: 3}
|
||||
title: URP Empty Template
|
||||
sections:
|
||||
- heading: Welcome to the Universal Render Pipeline
|
||||
text: This template includes the settings and assets you need to start creating with the Universal Render Pipeline.
|
||||
linkText:
|
||||
url:
|
||||
- heading: URP Documentation
|
||||
text:
|
||||
linkText: Read more about URP
|
||||
url: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest
|
||||
- heading: Forums
|
||||
text:
|
||||
linkText: Get answers and support
|
||||
url: https://forum.unity.com/forums/universal-render-pipeline.383/
|
||||
- heading: Report bugs
|
||||
text:
|
||||
linkText: Submit a report
|
||||
url: https://unity3d.com/unity/qa/bug-reporting
|
||||
loadedLayout: 1
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ba062aa6c92b140379dbc06b43dd3b9b
|
||||
guid: 245771bbe16e3e5439ef58f722f14313
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
@@ -4754,6 +4754,142 @@ CanvasRenderer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1037756585}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &1276500768
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1276500769}
|
||||
- component: {fileID: 1276500771}
|
||||
- component: {fileID: 1276500770}
|
||||
m_Layer: 5
|
||||
m_Name: Text (TMP)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1276500769
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1276500768}
|
||||
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: 1916153470}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 200, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1276500770
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1276500768}
|
||||
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: New Text
|
||||
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: 4278190080
|
||||
m_fontColor: {r: 0, g: 0, b: 0, 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: 36
|
||||
m_fontSizeBase: 36
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
m_VerticalAlignment: 256
|
||||
m_textAlignment: 65535
|
||||
m_characterSpacing: 0
|
||||
m_wordSpacing: 0
|
||||
m_lineSpacing: 0
|
||||
m_lineSpacingMax: 0
|
||||
m_paragraphSpacing: 0
|
||||
m_charWidthMaxAdj: 0
|
||||
m_TextWrappingMode: 1
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 0
|
||||
m_ActiveFontFeatures: 6e72656b
|
||||
m_enableExtraPadding: 0
|
||||
checkPaddingRequired: 0
|
||||
m_isRichText: 1
|
||||
m_EmojiFallbackSupport: 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!222 &1276500771
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1276500768}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!1 &1297659965
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -5257,6 +5393,7 @@ RectTransform:
|
||||
- {fileID: 806565724}
|
||||
- {fileID: 2124509610}
|
||||
- {fileID: 47788162}
|
||||
- {fileID: 1276500769}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
@@ -5406,6 +5543,10 @@ PrefabInstance:
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6191105916327120908, guid: 6c1ed824d30fe8848957d865919227a0, type: 3}
|
||||
propertyPath: linePrefab
|
||||
value:
|
||||
objectReference: {fileID: 6254276411767355245, guid: c899c98324602eb4fbe900753508f64d, type: 3}
|
||||
- target: {fileID: 6191105916327120908, guid: 6c1ed824d30fe8848957d865919227a0, type: 3}
|
||||
propertyPath: LogicWindow
|
||||
value:
|
||||
@@ -5413,8 +5554,29 @@ PrefabInstance:
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_AddedComponents:
|
||||
- targetCorrespondingSourceObject: {fileID: 2069922514250663687, guid: 6c1ed824d30fe8848957d865919227a0, type: 3}
|
||||
insertIndex: -1
|
||||
addedObject: {fileID: 594906197750746391}
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 6c1ed824d30fe8848957d865919227a0, type: 3}
|
||||
--- !u!1 &594906197750746390 stripped
|
||||
GameObject:
|
||||
m_CorrespondingSourceObject: {fileID: 2069922514250663687, guid: 6c1ed824d30fe8848957d865919227a0, type: 3}
|
||||
m_PrefabInstance: {fileID: 594906197750746389}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
--- !u!114 &594906197750746391
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 594906197750746390}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 766d9cdfba5257c4b9beedbfbc5f5d4a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
text: {fileID: 1276500770}
|
||||
--- !u!1001 &2241698210540411768
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using RTG;
|
||||
using System.Collections.Generic;
|
||||
using Unity.VisualScripting;
|
||||
|
||||
@@ -78,11 +78,11 @@ MonoBehaviour:
|
||||
m_UseAdaptivePerformance: 1
|
||||
m_ColorGradingMode: 0
|
||||
m_ColorGradingLutSize: 32
|
||||
m_AllowPostProcessAlphaOutput: 0
|
||||
m_UseFastSRGBLinearConversion: 1
|
||||
m_SupportDataDrivenLensFlare: 1
|
||||
m_SupportScreenSpaceLensFlare: 1
|
||||
m_GPUResidentDrawerMode: 0
|
||||
m_UseLegacyLightmaps: 0
|
||||
m_SmallMeshScreenPercentage: 0
|
||||
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
|
||||
m_ShadowType: 1
|
||||
@@ -100,23 +100,24 @@ MonoBehaviour:
|
||||
m_Keys: []
|
||||
m_Values:
|
||||
m_PrefilteringModeMainLightShadows: 3
|
||||
m_PrefilteringModeAdditionalLight: 4
|
||||
m_PrefilteringModeAdditionalLight: 0
|
||||
m_PrefilteringModeAdditionalLightShadows: 0
|
||||
m_PrefilterXRKeywords: 1
|
||||
m_PrefilteringModeForwardPlus: 1
|
||||
m_PrefilteringModeForwardPlus: 2
|
||||
m_PrefilteringModeDeferredRendering: 0
|
||||
m_PrefilteringModeScreenSpaceOcclusion: 0
|
||||
m_PrefilterDebugKeywords: 1
|
||||
m_PrefilterWriteRenderingLayers: 1
|
||||
m_PrefilterHDROutput: 1
|
||||
m_PrefilterAlphaOutput: 1
|
||||
m_PrefilterSSAODepthNormals: 1
|
||||
m_PrefilterSSAOSourceDepthLow: 1
|
||||
m_PrefilterSSAOSourceDepthMedium: 0
|
||||
m_PrefilterSSAOSourceDepthMedium: 1
|
||||
m_PrefilterSSAOSourceDepthHigh: 1
|
||||
m_PrefilterSSAOInterleaved: 0
|
||||
m_PrefilterSSAOInterleaved: 1
|
||||
m_PrefilterSSAOBlueNoise: 1
|
||||
m_PrefilterSSAOSampleCountLow: 1
|
||||
m_PrefilterSSAOSampleCountMedium: 0
|
||||
m_PrefilterSSAOSampleCountMedium: 1
|
||||
m_PrefilterSSAOSampleCountHigh: 1
|
||||
m_PrefilterDBufferMRT1: 1
|
||||
m_PrefilterDBufferMRT2: 1
|
||||
|
||||
@@ -78,11 +78,11 @@ MonoBehaviour:
|
||||
m_UseAdaptivePerformance: 1
|
||||
m_ColorGradingMode: 0
|
||||
m_ColorGradingLutSize: 32
|
||||
m_AllowPostProcessAlphaOutput: 0
|
||||
m_UseFastSRGBLinearConversion: 0
|
||||
m_SupportDataDrivenLensFlare: 1
|
||||
m_SupportScreenSpaceLensFlare: 1
|
||||
m_GPUResidentDrawerMode: 0
|
||||
m_UseLegacyLightmaps: 0
|
||||
m_SmallMeshScreenPercentage: 0
|
||||
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
|
||||
m_ShadowType: 1
|
||||
@@ -100,15 +100,16 @@ MonoBehaviour:
|
||||
m_Keys: []
|
||||
m_Values:
|
||||
m_PrefilteringModeMainLightShadows: 3
|
||||
m_PrefilteringModeAdditionalLight: 4
|
||||
m_PrefilteringModeAdditionalLightShadows: 0
|
||||
m_PrefilteringModeAdditionalLight: 0
|
||||
m_PrefilteringModeAdditionalLightShadows: 2
|
||||
m_PrefilterXRKeywords: 1
|
||||
m_PrefilteringModeForwardPlus: 1
|
||||
m_PrefilteringModeForwardPlus: 2
|
||||
m_PrefilteringModeDeferredRendering: 0
|
||||
m_PrefilteringModeScreenSpaceOcclusion: 1
|
||||
m_PrefilteringModeScreenSpaceOcclusion: 2
|
||||
m_PrefilterDebugKeywords: 1
|
||||
m_PrefilterWriteRenderingLayers: 0
|
||||
m_PrefilterWriteRenderingLayers: 1
|
||||
m_PrefilterHDROutput: 1
|
||||
m_PrefilterAlphaOutput: 1
|
||||
m_PrefilterSSAODepthNormals: 0
|
||||
m_PrefilterSSAOSourceDepthLow: 1
|
||||
m_PrefilterSSAOSourceDepthMedium: 1
|
||||
@@ -120,10 +121,10 @@ MonoBehaviour:
|
||||
m_PrefilterSSAOSampleCountHigh: 1
|
||||
m_PrefilterDBufferMRT1: 1
|
||||
m_PrefilterDBufferMRT2: 1
|
||||
m_PrefilterDBufferMRT3: 0
|
||||
m_PrefilterSoftShadowsQualityLow: 0
|
||||
m_PrefilterSoftShadowsQualityMedium: 0
|
||||
m_PrefilterSoftShadowsQualityHigh: 0
|
||||
m_PrefilterDBufferMRT3: 1
|
||||
m_PrefilterSoftShadowsQualityLow: 1
|
||||
m_PrefilterSoftShadowsQualityMedium: 1
|
||||
m_PrefilterSoftShadowsQualityHigh: 1
|
||||
m_PrefilterSoftShadows: 0
|
||||
m_PrefilterScreenCoord: 1
|
||||
m_PrefilterNativeRenderPass: 1
|
||||
|
||||
@@ -56,7 +56,17 @@ MonoBehaviour:
|
||||
- rid: 5092397466944798720
|
||||
- rid: 5092397466944798721
|
||||
m_RuntimeSettings:
|
||||
m_List: []
|
||||
m_List:
|
||||
- rid: 6852985685364965378
|
||||
- rid: 6852985685364965379
|
||||
- rid: 6852985685364965380
|
||||
- rid: 6852985685364965381
|
||||
- rid: 6852985685364965384
|
||||
- rid: 6852985685364965385
|
||||
- rid: 6852985685364965392
|
||||
- rid: 6852985685364965394
|
||||
- rid: 8712630790384254976
|
||||
- rid: 5092397466944798720
|
||||
m_AssetVersion: 8
|
||||
m_ObsoleteDefaultVolumeProfile: {fileID: 0}
|
||||
m_RenderingLayerNames:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"configs": [
|
||||
{
|
||||
"host": "http://220.90.135.42",
|
||||
"port": 3046,
|
||||
"port": 3037,
|
||||
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcmlkIjoic3lzdGVtIiwibmFtZSI6IuyLnOyKpO2FnOq0gOumrOyekCIsImF1dGgiOiJzeXN0ZW0iLCJjb21wYW55SWQiOm51bGwsImlhdCI6MTczNTYwOTgyOCwiZXhwIjoxNzcxNjA5ODI4fQ.ApXLL_RsWWaa2KwRKrg1z8iT9MNYdZFqN-6Mn1Lvq8Q"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a0c9218a650547d98138cd835033977
|
||||
folderAsset: yes
|
||||
timeCreated: 1484670163
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB |
@@ -1,134 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 727a75301c3d24613a3ebcec4a24c2c8
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMasterTextureLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 0
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 2
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,654 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &1
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12004, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PixelRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 45
|
||||
width: 1666
|
||||
height: 958
|
||||
m_ShowMode: 4
|
||||
m_Title:
|
||||
m_RootView: {fileID: 6}
|
||||
m_MinSize: {x: 950, y: 542}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
--- !u!114 &2
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 466
|
||||
width: 290
|
||||
height: 442
|
||||
m_MinSize: {x: 234, y: 271}
|
||||
m_MaxSize: {x: 10004, y: 10021}
|
||||
m_ActualView: {fileID: 14}
|
||||
m_Panes:
|
||||
- {fileID: 14}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &3
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 4}
|
||||
- {fileID: 2}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 973
|
||||
y: 0
|
||||
width: 290
|
||||
height: 908
|
||||
m_MinSize: {x: 234, y: 492}
|
||||
m_MaxSize: {x: 10004, y: 14042}
|
||||
vertical: 1
|
||||
controlID: 226
|
||||
--- !u!114 &4
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 290
|
||||
height: 466
|
||||
m_MinSize: {x: 204, y: 221}
|
||||
m_MaxSize: {x: 4004, y: 4021}
|
||||
m_ActualView: {fileID: 17}
|
||||
m_Panes:
|
||||
- {fileID: 17}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &5
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 466
|
||||
width: 973
|
||||
height: 442
|
||||
m_MinSize: {x: 202, y: 221}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 15}
|
||||
m_Panes:
|
||||
- {fileID: 15}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &6
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12008, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 7}
|
||||
- {fileID: 8}
|
||||
- {fileID: 9}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1666
|
||||
height: 958
|
||||
m_MinSize: {x: 950, y: 542}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
--- !u!114 &7
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12011, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1666
|
||||
height: 30
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
m_LastLoadedLayoutName: Tutorial
|
||||
--- !u!114 &8
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 10}
|
||||
- {fileID: 3}
|
||||
- {fileID: 11}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 30
|
||||
width: 1666
|
||||
height: 908
|
||||
m_MinSize: {x: 713, y: 492}
|
||||
m_MaxSize: {x: 18008, y: 14042}
|
||||
vertical: 0
|
||||
controlID: 74
|
||||
--- !u!114 &9
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12042, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 938
|
||||
width: 1666
|
||||
height: 20
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
--- !u!114 &10
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 12}
|
||||
- {fileID: 5}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 973
|
||||
height: 908
|
||||
m_MinSize: {x: 202, y: 442}
|
||||
m_MaxSize: {x: 4002, y: 8042}
|
||||
vertical: 1
|
||||
controlID: 75
|
||||
--- !u!114 &11
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 1263
|
||||
y: 0
|
||||
width: 403
|
||||
height: 908
|
||||
m_MinSize: {x: 277, y: 71}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 13}
|
||||
m_Panes:
|
||||
- {fileID: 13}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &12
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 973
|
||||
height: 466
|
||||
m_MinSize: {x: 202, y: 221}
|
||||
m_MaxSize: {x: 4002, y: 4021}
|
||||
m_ActualView: {fileID: 16}
|
||||
m_Panes:
|
||||
- {fileID: 16}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &13
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_AutoRepaintOnSceneChange: 0
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Inspector
|
||||
m_Image: {fileID: -6905738622615590433, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_DepthBufferBits: 0
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 2
|
||||
y: 19
|
||||
width: 401
|
||||
height: 887
|
||||
m_ScrollPosition: {x: 0, y: 0}
|
||||
m_InspectorMode: 0
|
||||
m_PreviewResizer:
|
||||
m_CachedPref: -160
|
||||
m_ControlHash: -371814159
|
||||
m_PrefName: Preview_InspectorPreview
|
||||
m_PreviewWindow: {fileID: 0}
|
||||
--- !u!114 &14
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_AutoRepaintOnSceneChange: 0
|
||||
m_MinSize: {x: 230, y: 250}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
m_TitleContent:
|
||||
m_Text: Project
|
||||
m_Image: {fileID: -7501376956915960154, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_DepthBufferBits: 0
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 2
|
||||
y: 19
|
||||
width: 286
|
||||
height: 421
|
||||
m_SearchFilter:
|
||||
m_NameFilter:
|
||||
m_ClassNames: []
|
||||
m_AssetLabels: []
|
||||
m_AssetBundleNames: []
|
||||
m_VersionControlStates: []
|
||||
m_ReferencingInstanceIDs:
|
||||
m_ScenePaths: []
|
||||
m_ShowAllHits: 0
|
||||
m_SearchArea: 0
|
||||
m_Folders:
|
||||
- Assets
|
||||
m_ViewMode: 0
|
||||
m_StartGridSize: 64
|
||||
m_LastFolders:
|
||||
- Assets
|
||||
m_LastFoldersGridSize: -1
|
||||
m_LastProjectPath: /Users/danielbrauer/Unity Projects/New Unity Project 47
|
||||
m_IsLocked: 0
|
||||
m_FolderTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: ee240000
|
||||
m_LastClickedID: 9454
|
||||
m_ExpandedIDs: ee24000000ca9a3bffffff7f
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_AssetTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: 68fbffff
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: ee240000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_ListAreaState:
|
||||
m_SelectedInstanceIDs: 68fbffff
|
||||
m_LastClickedInstanceID: -1176
|
||||
m_HadKeyboardFocusLastEvent: 0
|
||||
m_ExpandedInstanceIDs: c6230000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_NewAssetIndexInList: -1
|
||||
m_ScrollPosition: {x: 0, y: 0}
|
||||
m_GridSize: 64
|
||||
m_DirectoriesAreaWidth: 110
|
||||
--- !u!114 &15
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_AutoRepaintOnSceneChange: 1
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Game
|
||||
m_Image: {fileID: -2087823869225018852, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_DepthBufferBits: 32
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 19
|
||||
width: 971
|
||||
height: 421
|
||||
m_MaximizeOnPlay: 0
|
||||
m_Gizmos: 0
|
||||
m_Stats: 0
|
||||
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
m_TargetDisplay: 0
|
||||
m_ZoomArea:
|
||||
m_HRangeLocked: 0
|
||||
m_VRangeLocked: 0
|
||||
m_HBaseRangeMin: -242.75
|
||||
m_HBaseRangeMax: 242.75
|
||||
m_VBaseRangeMin: -101
|
||||
m_VBaseRangeMax: 101
|
||||
m_HAllowExceedBaseRangeMin: 1
|
||||
m_HAllowExceedBaseRangeMax: 1
|
||||
m_VAllowExceedBaseRangeMin: 1
|
||||
m_VAllowExceedBaseRangeMax: 1
|
||||
m_ScaleWithWindow: 0
|
||||
m_HSlider: 0
|
||||
m_VSlider: 0
|
||||
m_IgnoreScrollWheelUntilClicked: 0
|
||||
m_EnableMouseInput: 1
|
||||
m_EnableSliderZoom: 0
|
||||
m_UniformScale: 1
|
||||
m_UpDirection: 1
|
||||
m_DrawArea:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 17
|
||||
width: 971
|
||||
height: 404
|
||||
m_Scale: {x: 2, y: 2}
|
||||
m_Translation: {x: 485.5, y: 202}
|
||||
m_MarginLeft: 0
|
||||
m_MarginRight: 0
|
||||
m_MarginTop: 0
|
||||
m_MarginBottom: 0
|
||||
m_LastShownAreaInsideMargins:
|
||||
serializedVersion: 2
|
||||
x: -242.75
|
||||
y: -101
|
||||
width: 485.5
|
||||
height: 202
|
||||
m_MinimalGUI: 1
|
||||
m_defaultScale: 2
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_CurrentColorSpace: 0
|
||||
m_LastWindowPixelSize: {x: 1942, y: 842}
|
||||
m_ClearInEditMode: 1
|
||||
m_NoCameraWarning: 1
|
||||
m_LowResolutionForAspectRatios: 01000000000100000100
|
||||
--- !u!114 &16
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_AutoRepaintOnSceneChange: 1
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Scene
|
||||
m_Image: {fileID: 2318424515335265636, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_DepthBufferBits: 32
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 19
|
||||
width: 971
|
||||
height: 445
|
||||
m_SceneLighting: 1
|
||||
lastFramingTime: 0
|
||||
m_2DMode: 0
|
||||
m_isRotationLocked: 0
|
||||
m_AudioPlay: 0
|
||||
m_Position:
|
||||
m_Target: {x: 0, y: 0, z: 0}
|
||||
speed: 2
|
||||
m_Value: {x: 0, y: 0, z: 0}
|
||||
m_RenderMode: 0
|
||||
m_ValidateTrueMetals: 0
|
||||
m_SceneViewState:
|
||||
showFog: 1
|
||||
showMaterialUpdate: 0
|
||||
showSkybox: 1
|
||||
showFlares: 1
|
||||
showImageEffects: 1
|
||||
grid:
|
||||
xGrid:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
yGrid:
|
||||
m_Target: 1
|
||||
speed: 2
|
||||
m_Value: 1
|
||||
zGrid:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Rotation:
|
||||
m_Target: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
||||
speed: 2
|
||||
m_Value: {x: -0.08717229, y: 0.89959055, z: -0.21045254, w: -0.3726226}
|
||||
m_Size:
|
||||
m_Target: 10
|
||||
speed: 2
|
||||
m_Value: 10
|
||||
m_Ortho:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_LastSceneViewRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_LastSceneViewOrtho: 0
|
||||
m_ReplacementShader: {fileID: 0}
|
||||
m_ReplacementString:
|
||||
m_LastLockedObject: {fileID: 0}
|
||||
m_ViewIsLockedToObject: 0
|
||||
--- !u!114 &17
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_AutoRepaintOnSceneChange: 0
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Hierarchy
|
||||
m_Image: {fileID: -590624980919486359, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_DepthBufferBits: 0
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 2
|
||||
y: 19
|
||||
width: 286
|
||||
height: 445
|
||||
m_TreeViewState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: 68fbffff
|
||||
m_LastClickedID: -1176
|
||||
m_ExpandedIDs: 7efbffff00000000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 0
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_ExpandedScenes:
|
||||
-
|
||||
m_CurrenRootInstanceID: 0
|
||||
m_Locked: 0
|
||||
m_CurrentSortingName: TransformSorting
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eabc9546105bf4accac1fd62a63e88e6
|
||||
timeCreated: 1487337779
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a9bcd70e6a4b4b05badaa72e827d8e0
|
||||
folderAsset: yes
|
||||
timeCreated: 1475835190
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3ad9b87dffba344c89909c6d1b1c17e1
|
||||
folderAsset: yes
|
||||
timeCreated: 1475593892
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,242 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
[CustomEditor(typeof(Readme))]
|
||||
[InitializeOnLoad]
|
||||
public class ReadmeEditor : Editor
|
||||
{
|
||||
static string s_ShowedReadmeSessionStateName = "ReadmeEditor.showedReadme";
|
||||
|
||||
static string s_ReadmeSourceDirectory = "Assets/TutorialInfo";
|
||||
|
||||
const float k_Space = 16f;
|
||||
|
||||
static ReadmeEditor()
|
||||
{
|
||||
EditorApplication.delayCall += SelectReadmeAutomatically;
|
||||
}
|
||||
|
||||
static void RemoveTutorial()
|
||||
{
|
||||
if (EditorUtility.DisplayDialog("Remove Readme Assets",
|
||||
|
||||
$"All contents under {s_ReadmeSourceDirectory} will be removed, are you sure you want to proceed?",
|
||||
"Proceed",
|
||||
"Cancel"))
|
||||
{
|
||||
if (Directory.Exists(s_ReadmeSourceDirectory))
|
||||
{
|
||||
FileUtil.DeleteFileOrDirectory(s_ReadmeSourceDirectory);
|
||||
FileUtil.DeleteFileOrDirectory(s_ReadmeSourceDirectory + ".meta");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log($"Could not find the Readme folder at {s_ReadmeSourceDirectory}");
|
||||
}
|
||||
|
||||
var readmeAsset = SelectReadme();
|
||||
if (readmeAsset != null)
|
||||
{
|
||||
var path = AssetDatabase.GetAssetPath(readmeAsset);
|
||||
FileUtil.DeleteFileOrDirectory(path + ".meta");
|
||||
FileUtil.DeleteFileOrDirectory(path);
|
||||
}
|
||||
|
||||
AssetDatabase.Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
static void SelectReadmeAutomatically()
|
||||
{
|
||||
if (!SessionState.GetBool(s_ShowedReadmeSessionStateName, false))
|
||||
{
|
||||
var readme = SelectReadme();
|
||||
SessionState.SetBool(s_ShowedReadmeSessionStateName, true);
|
||||
|
||||
if (readme && !readme.loadedLayout)
|
||||
{
|
||||
LoadLayout();
|
||||
readme.loadedLayout = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void LoadLayout()
|
||||
{
|
||||
var assembly = typeof(EditorApplication).Assembly;
|
||||
var windowLayoutType = assembly.GetType("UnityEditor.WindowLayout", true);
|
||||
var method = windowLayoutType.GetMethod("LoadWindowLayout", BindingFlags.Public | BindingFlags.Static);
|
||||
method.Invoke(null, new object[] { Path.Combine(Application.dataPath, "TutorialInfo/Layout.wlt"), false });
|
||||
}
|
||||
|
||||
static Readme SelectReadme()
|
||||
{
|
||||
var ids = AssetDatabase.FindAssets("Readme t:Readme");
|
||||
if (ids.Length == 1)
|
||||
{
|
||||
var readmeObject = AssetDatabase.LoadMainAssetAtPath(AssetDatabase.GUIDToAssetPath(ids[0]));
|
||||
|
||||
Selection.objects = new UnityEngine.Object[] { readmeObject };
|
||||
|
||||
return (Readme)readmeObject;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log("Couldn't find a readme");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnHeaderGUI()
|
||||
{
|
||||
var readme = (Readme)target;
|
||||
Init();
|
||||
|
||||
var iconWidth = Mathf.Min(EditorGUIUtility.currentViewWidth / 3f - 20f, 128f);
|
||||
|
||||
GUILayout.BeginHorizontal("In BigTitle");
|
||||
{
|
||||
if (readme.icon != null)
|
||||
{
|
||||
GUILayout.Space(k_Space);
|
||||
GUILayout.Label(readme.icon, GUILayout.Width(iconWidth), GUILayout.Height(iconWidth));
|
||||
}
|
||||
GUILayout.Space(k_Space);
|
||||
GUILayout.BeginVertical();
|
||||
{
|
||||
|
||||
GUILayout.FlexibleSpace();
|
||||
GUILayout.Label(readme.title, TitleStyle);
|
||||
GUILayout.FlexibleSpace();
|
||||
}
|
||||
GUILayout.EndVertical();
|
||||
GUILayout.FlexibleSpace();
|
||||
}
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
var readme = (Readme)target;
|
||||
Init();
|
||||
|
||||
foreach (var section in readme.sections)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(section.heading))
|
||||
{
|
||||
GUILayout.Label(section.heading, HeadingStyle);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(section.text))
|
||||
{
|
||||
GUILayout.Label(section.text, BodyStyle);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(section.linkText))
|
||||
{
|
||||
if (LinkLabel(new GUIContent(section.linkText)))
|
||||
{
|
||||
Application.OpenURL(section.url);
|
||||
}
|
||||
}
|
||||
|
||||
GUILayout.Space(k_Space);
|
||||
}
|
||||
|
||||
if (GUILayout.Button("Remove Readme Assets", ButtonStyle))
|
||||
{
|
||||
RemoveTutorial();
|
||||
}
|
||||
}
|
||||
|
||||
bool m_Initialized;
|
||||
|
||||
GUIStyle LinkStyle
|
||||
{
|
||||
get { return m_LinkStyle; }
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
GUIStyle m_LinkStyle;
|
||||
|
||||
GUIStyle TitleStyle
|
||||
{
|
||||
get { return m_TitleStyle; }
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
GUIStyle m_TitleStyle;
|
||||
|
||||
GUIStyle HeadingStyle
|
||||
{
|
||||
get { return m_HeadingStyle; }
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
GUIStyle m_HeadingStyle;
|
||||
|
||||
GUIStyle BodyStyle
|
||||
{
|
||||
get { return m_BodyStyle; }
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
GUIStyle m_BodyStyle;
|
||||
|
||||
GUIStyle ButtonStyle
|
||||
{
|
||||
get { return m_ButtonStyle; }
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
GUIStyle m_ButtonStyle;
|
||||
|
||||
void Init()
|
||||
{
|
||||
if (m_Initialized)
|
||||
return;
|
||||
m_BodyStyle = new GUIStyle(EditorStyles.label);
|
||||
m_BodyStyle.wordWrap = true;
|
||||
m_BodyStyle.fontSize = 14;
|
||||
m_BodyStyle.richText = true;
|
||||
|
||||
m_TitleStyle = new GUIStyle(m_BodyStyle);
|
||||
m_TitleStyle.fontSize = 26;
|
||||
|
||||
m_HeadingStyle = new GUIStyle(m_BodyStyle);
|
||||
m_HeadingStyle.fontStyle = FontStyle.Bold;
|
||||
m_HeadingStyle.fontSize = 18;
|
||||
|
||||
m_LinkStyle = new GUIStyle(m_BodyStyle);
|
||||
m_LinkStyle.wordWrap = false;
|
||||
|
||||
// Match selection color which works nicely for both light and dark skins
|
||||
m_LinkStyle.normal.textColor = new Color(0x00 / 255f, 0x78 / 255f, 0xDA / 255f, 1f);
|
||||
m_LinkStyle.stretchWidth = false;
|
||||
|
||||
m_ButtonStyle = new GUIStyle(EditorStyles.miniButton);
|
||||
m_ButtonStyle.fontStyle = FontStyle.Bold;
|
||||
|
||||
m_Initialized = true;
|
||||
}
|
||||
|
||||
bool LinkLabel(GUIContent label, params GUILayoutOption[] options)
|
||||
{
|
||||
var position = GUILayoutUtility.GetRect(label, LinkStyle, options);
|
||||
|
||||
Handles.BeginGUI();
|
||||
Handles.color = LinkStyle.normal.textColor;
|
||||
Handles.DrawLine(new Vector3(position.xMin, position.yMax), new Vector3(position.xMax, position.yMax));
|
||||
Handles.color = Color.white;
|
||||
Handles.EndGUI();
|
||||
|
||||
EditorGUIUtility.AddCursorRect(position, MouseCursor.Link);
|
||||
|
||||
return GUI.Button(position, label, LinkStyle);
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 476cc7d7cd9874016adc216baab94a0a
|
||||
timeCreated: 1484146680
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,16 +0,0 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
public class Readme : ScriptableObject
|
||||
{
|
||||
public Texture2D icon;
|
||||
public string title;
|
||||
public Section[] sections;
|
||||
public bool loadedLayout;
|
||||
|
||||
[Serializable]
|
||||
public class Section
|
||||
{
|
||||
public string heading, text, linkText, url;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fcf7219bab7fe46a1ad266029b2fee19
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences:
|
||||
- icon: {instanceID: 0}
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: a186f8a87ca4f4d3aa864638ad5dfb65, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -11,12 +11,17 @@ namespace Octopus.Simulator
|
||||
public class LogicDataManager : MonoBehaviour
|
||||
{
|
||||
public SimulationData currentData;
|
||||
public LogicWebConfig config;
|
||||
[SerializeField]
|
||||
Button logicPrefab;
|
||||
[SerializeField]
|
||||
RectTransform LogicWindow;
|
||||
[SerializeField]
|
||||
Image linePrefab;
|
||||
|
||||
Dictionary<Button, ILogicItem> logicButtonDict = new Dictionary<Button, ILogicItem>();
|
||||
Dictionary<string, Button> dataMap = new Dictionary<string, Button>();
|
||||
Dictionary<string, Button> idMap = new Dictionary<string, Button>();
|
||||
|
||||
Panel_LogicData panelLogicData;
|
||||
Panel_ConnectedObject panelConnectedObject;
|
||||
@@ -57,7 +62,7 @@ namespace Octopus.Simulator
|
||||
void RequestInfo()
|
||||
{
|
||||
ClearLogicBTN();
|
||||
WebManager.webManager.Request_Get($"{WebManager.webManager.apiConfig.history}/9", (flag, value) =>
|
||||
WebManager.webManager.Request_Get($"{WebManager.webManager.apiConfig.logic}/33", (flag, value) =>
|
||||
{
|
||||
if (flag)
|
||||
{
|
||||
@@ -70,56 +75,77 @@ namespace Octopus.Simulator
|
||||
void GetDataFromInfo(SimulationData Data)
|
||||
{
|
||||
currentData = Data;
|
||||
QueueVisulization(Data.logicData.queues);
|
||||
ResourceVisulization(Data.logicData.resources);
|
||||
ComponentVisulization(Data.logicData.components);
|
||||
config = Data.webConfig;
|
||||
QueueVisulization(Data.data.queues);
|
||||
ResourceVisulization(Data.data.resources);
|
||||
ComponentVisulization(Data.data.components);
|
||||
ConnectEdge();
|
||||
}
|
||||
|
||||
void QueueVisulization(List<LogicQueue> queues)
|
||||
{
|
||||
int i = 0;
|
||||
foreach (var queue in queues)
|
||||
{
|
||||
var logicButton = Instantiate(logicPrefab, LogicWindow);
|
||||
var item = logicButton.GetComponent<LogicItemButton>();
|
||||
item.Setup(queue);
|
||||
logicButtonDict.Add(logicButton, queue);
|
||||
dataMap.Add(queue.name, logicButton);
|
||||
idMap.Add(config.nodes.Find(n => n.data.name == queue.name).id, logicButton);
|
||||
logicButton.onClick.AddListener(() => OnLogicButtonClick(queue));
|
||||
logicButton.GetComponent<RectTransform>().anchoredPosition = new Vector2(-500, -i * 65 - 50);
|
||||
i++;
|
||||
logicButton.GetComponent<RectTransform>().anchoredPosition = new Vector2(config.nodes.Find(n => n.data.name==queue.name).position.x, -config.nodes.Find(n => n.data.name == queue.name).position.y);
|
||||
}
|
||||
}
|
||||
|
||||
void ResourceVisulization(List<LogicResource> resources)
|
||||
{
|
||||
int i = 0;
|
||||
foreach (var resource in resources)
|
||||
{
|
||||
var logicButton = Instantiate(logicPrefab, LogicWindow);
|
||||
var item = logicButton.GetComponent<LogicItemButton>();
|
||||
item.Setup(resource);
|
||||
logicButtonDict.Add(logicButton, resource);
|
||||
dataMap.Add(resource.name, logicButton);
|
||||
idMap.Add(config.nodes.Find(n => n.data.name == resource.name).id, logicButton);
|
||||
logicButton.onClick.AddListener(() => OnLogicButtonClick(resource));
|
||||
logicButton.GetComponent<RectTransform>().anchoredPosition = new Vector2(-100, -i * 65 - 50);
|
||||
i++;
|
||||
logicButton.GetComponent<RectTransform>().anchoredPosition = new Vector2(config.nodes.Find(n => n.data.name == resource.name).position.x, -config.nodes.Find(n => n.data.name == resource.name).position.y);
|
||||
}
|
||||
}
|
||||
|
||||
void ComponentVisulization(List<ILogicComponent> components)
|
||||
{
|
||||
int i = 0;
|
||||
foreach (var component in components)
|
||||
{
|
||||
var logicButton = Instantiate(logicPrefab, LogicWindow);
|
||||
var item = logicButton.GetComponent<LogicItemButton>();
|
||||
item.Setup(component);
|
||||
logicButtonDict.Add(logicButton, component);
|
||||
dataMap.Add(component.Name, logicButton);
|
||||
idMap.Add(config.nodes.Find(n => n.data.name == component.Name).id, logicButton);
|
||||
logicButton.onClick.AddListener(() => OnLogicButtonClick(component));
|
||||
logicButton.GetComponent<RectTransform>().anchoredPosition = new Vector2(200, -i * 65 - 50);
|
||||
i++;
|
||||
logicButton.GetComponent<RectTransform>().anchoredPosition = new Vector2(config.nodes.Find(n => n.data.name == component.Name).position.x, -config.nodes.Find(n => n.data.name == component.Name).position.y);
|
||||
}
|
||||
}
|
||||
|
||||
void ConnectEdge()
|
||||
{
|
||||
foreach(var edge in config.edges)
|
||||
{
|
||||
var line=Instantiate(linePrefab, LogicWindow);
|
||||
line.rectTransform.anchoredPosition = (idMap[edge.source].GetComponent<RectTransform>().anchoredPosition+ idMap[edge.target].GetComponent<RectTransform>().anchoredPosition)/2f;
|
||||
Vector2 direction = idMap[edge.target].GetComponent<RectTransform>().anchoredPosition - idMap[edge.source].GetComponent<RectTransform>().anchoredPosition;
|
||||
float length = direction.magnitude;
|
||||
line.rectTransform.sizeDelta = new Vector2(length,line.rectTransform.sizeDelta.y);
|
||||
float angleRad = Mathf.Atan2(direction.y, direction.x)*Mathf.Rad2Deg; // ¶óµð¾È
|
||||
line.transform.rotation = Quaternion.Euler(0, 0, angleRad);
|
||||
}
|
||||
}
|
||||
|
||||
void drawLine()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void OnLogicButtonClick(ILogicItem item)
|
||||
{
|
||||
onLogicButtonClicked?.Invoke(item);
|
||||
|
||||
@@ -31,6 +31,6 @@ public class LogicItemButton : MonoBehaviour
|
||||
};
|
||||
|
||||
iconImage.sprite = IconMap[item.ItemType];
|
||||
nameText.text = item.Name;
|
||||
nameText.text = item.Label;
|
||||
}
|
||||
}
|
||||
@@ -87,7 +87,7 @@ namespace Octopus.Simulator.Networks
|
||||
public void Connect(string clientName, string host,int port)
|
||||
{
|
||||
client = new MQTTClientBuilder()
|
||||
.WithOptions(new ConnectionOptionsBuilder().WithTCP(host, port))
|
||||
.WithOptions(new ConnectionOptionsBuilder().WithWebSocket(host, port))
|
||||
.WithEventHandler(client=>OnConnected(client,clientName))
|
||||
.WithEventHandler(OnStateChange)
|
||||
.WithEventHandler(OnDisconnected)
|
||||
|
||||
@@ -3,6 +3,8 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using UnityEngine.UIElements;
|
||||
using System.Reflection.Emit;
|
||||
|
||||
namespace Octopus.Simulator
|
||||
{
|
||||
@@ -12,7 +14,7 @@ namespace Octopus.Simulator
|
||||
public int status;
|
||||
public string code;
|
||||
public string message;
|
||||
public SimulationData data;
|
||||
public SimulationData data = new SimulationData();
|
||||
public Meta meta;
|
||||
public string timestamp;
|
||||
|
||||
@@ -23,20 +25,21 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public int id;
|
||||
public int projectId;
|
||||
public int logicId;
|
||||
//public int logicId;
|
||||
public int userId;
|
||||
public string name;
|
||||
public string simulationCode;
|
||||
public logicData logicData;
|
||||
public SimulationParameters parameters;
|
||||
public logicData data;
|
||||
public LogicWebConfig webConfig;
|
||||
//public SimulationParameters parameters;
|
||||
public string status;
|
||||
public string resultData;
|
||||
public string createdAt;
|
||||
public string updatedAt;
|
||||
public string deletedAt;
|
||||
public SimulationProject project;
|
||||
public SimulationComponent component;
|
||||
public SimulationUser user;
|
||||
//public SimulationProject project;
|
||||
//public SimulationComponent component;
|
||||
//public SimulationUser user;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
@@ -53,12 +56,6 @@ namespace Octopus.Simulator
|
||||
public int simulation_time;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class WebConfig
|
||||
{
|
||||
//public List;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class SimulationParameters
|
||||
{
|
||||
@@ -87,6 +84,7 @@ namespace Octopus.Simulator
|
||||
{
|
||||
string Name { get; }
|
||||
string Description { get; }
|
||||
string Label { get; }
|
||||
LogicItemType ItemType { get; }
|
||||
}
|
||||
[Serializable]
|
||||
@@ -94,12 +92,14 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public string name = "";
|
||||
public string description = "";
|
||||
public int capacity;
|
||||
public string label;
|
||||
public int capacity=0;
|
||||
public int quantity;
|
||||
public int priority_order;
|
||||
public string queue_type;
|
||||
public string Name => name;
|
||||
public string Description => description;
|
||||
public string Label => label;
|
||||
public LogicItemType ItemType => LogicItemType.Queue;
|
||||
}
|
||||
|
||||
@@ -109,11 +109,13 @@ namespace Octopus.Simulator
|
||||
public string name = "";
|
||||
public int capacity = 0;
|
||||
public string description = "";
|
||||
public int repair_time = 0;
|
||||
public string label;
|
||||
public int? repair_time = 0;
|
||||
public double speed_factor = 0.0;
|
||||
public int breakdown_interval = 0;
|
||||
public int? breakdown_interval = 0;
|
||||
public string Name => name;
|
||||
public string Description => description;
|
||||
public string Label => label;
|
||||
public LogicItemType ItemType => LogicItemType.Resource;
|
||||
}
|
||||
|
||||
@@ -122,11 +124,13 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public string label;
|
||||
public int capacity;
|
||||
public int quantity;
|
||||
public int priority_order;
|
||||
public string Name => name;
|
||||
public string Description => description;
|
||||
public string Label => label;
|
||||
public LogicItemType ItemType => LogicItemType.Store;
|
||||
}
|
||||
|
||||
@@ -136,6 +140,7 @@ namespace Octopus.Simulator
|
||||
public abstract ComponentType Type { get; }
|
||||
public abstract string Name { get; }
|
||||
public abstract string Description { get; }
|
||||
public abstract string Label { get; }
|
||||
public LogicItemType ItemType => LogicItemType.Component;
|
||||
}
|
||||
|
||||
@@ -145,6 +150,7 @@ namespace Octopus.Simulator
|
||||
public string name;
|
||||
public int rate;
|
||||
public string description;
|
||||
public string label;
|
||||
public string output_queue;
|
||||
public string defect_queue;
|
||||
public string output_resource;
|
||||
@@ -152,10 +158,10 @@ namespace Octopus.Simulator
|
||||
public int batch_size;
|
||||
public int defect_rate;
|
||||
public int period;
|
||||
public int capacity;
|
||||
public int? capacity=0;
|
||||
public override string Name => name;
|
||||
public override string Description => description;
|
||||
|
||||
public override string Label => label;
|
||||
public override ComponentType Type => ComponentType.Product_Generator;
|
||||
}
|
||||
|
||||
@@ -164,6 +170,7 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public string label;
|
||||
public int processing_time;
|
||||
public int batch_size;
|
||||
public List<InputQueue> input_queues;
|
||||
@@ -174,6 +181,7 @@ namespace Octopus.Simulator
|
||||
public float defect_rate;
|
||||
public override string Name => name;
|
||||
public override string Description => description;
|
||||
public override string Label => label;
|
||||
public override ComponentType Type => ComponentType.Processor;
|
||||
}
|
||||
|
||||
@@ -182,10 +190,11 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public int transport_time;
|
||||
public float? transport_distance=0f;
|
||||
public float? movement_speed=0f;
|
||||
public int capacity;
|
||||
public string label;
|
||||
public int? transport_time=0;
|
||||
public float? transport_distance = 0f;
|
||||
public float? movement_speed = 0f;
|
||||
public int? capacity=0;
|
||||
public string input_queue;
|
||||
public string output_queue;
|
||||
public string defect_queue;
|
||||
@@ -195,6 +204,7 @@ namespace Octopus.Simulator
|
||||
public int min_batch_size;
|
||||
public override string Name => name;
|
||||
public override string Description => description;
|
||||
public override string Label => label;
|
||||
public override ComponentType Type => ComponentType.Transporter;
|
||||
}
|
||||
|
||||
@@ -203,11 +213,13 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public int shipping_interval;
|
||||
public int shipping_amount;
|
||||
public string label;
|
||||
public int? shipping_interval=0;
|
||||
public int? shipping_amount=0;
|
||||
public List<InputQueue> input_queues;
|
||||
public override string Name => name;
|
||||
public override string Description => description;
|
||||
public override string Label => label;
|
||||
public override ComponentType Type => ComponentType.Shipment;
|
||||
}
|
||||
|
||||
@@ -216,15 +228,17 @@ namespace Octopus.Simulator
|
||||
{
|
||||
public string name;
|
||||
public string description;
|
||||
public string label;
|
||||
public int move_time;
|
||||
public float belt_speed;
|
||||
public int capacity;
|
||||
public int? capacity=0;
|
||||
public string input_queue;
|
||||
public string output_queue;
|
||||
public string defect_queue;
|
||||
public string required_resource;
|
||||
public override string Name => name;
|
||||
public override string Description => description;
|
||||
public override string Label => label;
|
||||
public override ComponentType Type => ComponentType.Conveyor;
|
||||
}
|
||||
|
||||
@@ -277,6 +291,105 @@ namespace Octopus.Simulator
|
||||
public string updatedAt;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LogicWebConfig
|
||||
{
|
||||
public List<Node> nodes;
|
||||
public List<Edge> edges;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Edge
|
||||
{
|
||||
public string id;
|
||||
public EdgeData data;
|
||||
public string type;
|
||||
public string label;
|
||||
public string source;
|
||||
public string target;
|
||||
public float sourceX;
|
||||
public float sourceY;
|
||||
public float targetX;
|
||||
public float targetY;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class EdgeData
|
||||
{
|
||||
public string name;
|
||||
public string type;
|
||||
public string label;
|
||||
public bool visible;
|
||||
public bool isIgnore;
|
||||
public bool isShowName;
|
||||
public string description;
|
||||
public Node sourceNode;
|
||||
public Node targetNode;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Node
|
||||
{
|
||||
public string id;
|
||||
public NodeData data;
|
||||
public string type;
|
||||
public bool dragging;
|
||||
public bool isParent;
|
||||
public Position position;
|
||||
public bool resizing;
|
||||
public bool selected;
|
||||
public Dimension dimensions;
|
||||
public bool initialized;
|
||||
public HandleBounds handleBounds;
|
||||
public ComputedPosition computedPosition;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class NodeData
|
||||
{
|
||||
public string name;
|
||||
public string type;
|
||||
public string label;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Position
|
||||
{
|
||||
public float x;
|
||||
public float y;
|
||||
}
|
||||
|
||||
|
||||
[Serializable]
|
||||
public class Dimension
|
||||
{
|
||||
public float width;
|
||||
public float height;
|
||||
}
|
||||
[Serializable]
|
||||
public class HandleBounds
|
||||
{
|
||||
public List<Handle> source;
|
||||
public List<Handle> target;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Handle
|
||||
{
|
||||
public float x;
|
||||
public float y;
|
||||
public string id;
|
||||
public float width;
|
||||
public float height;
|
||||
public string position;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class ComputedPosition : Position
|
||||
{
|
||||
public float z;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Meta
|
||||
{
|
||||
|
||||
12
Assets/WorkSpace/LH/WebReceiver.cs
Normal file
12
Assets/WorkSpace/LH/WebReceiver.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
using TMPro;
|
||||
|
||||
public class WebReceiver : MonoBehaviour
|
||||
{
|
||||
public TMP_Text text;
|
||||
public void ReceiveWebParameterJson(string json)
|
||||
{
|
||||
text.text = json;
|
||||
}
|
||||
}
|
||||
2
Assets/WorkSpace/LH/WebReceiver.cs.meta
Normal file
2
Assets/WorkSpace/LH/WebReceiver.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 766d9cdfba5257c4b9beedbfbc5f5d4a
|
||||
@@ -6,8 +6,8 @@ EditorBuildSettings:
|
||||
serializedVersion: 2
|
||||
m_Scenes:
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/SampleScene.unity
|
||||
guid: 99c9720ab356a0642a771bea13969a05
|
||||
path: Assets/Scenes/Simulation_0.0.0.unity
|
||||
guid: 01c1b3957fe7a77479f2ba91dc962711
|
||||
m_configObjects:
|
||||
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
|
||||
m_UseUCBPForAssetBundles: 0
|
||||
|
||||
@@ -36,10 +36,8 @@ GraphicsSettings:
|
||||
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_PreloadedShaders: []
|
||||
m_PreloadShadersBatchTimeLimit: -1
|
||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
|
||||
type: 0}
|
||||
m_CustomRenderPipeline: {fileID: 11400000, guid: 4b83569d67af61e458304325a23e5dfd,
|
||||
type: 2}
|
||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_CustomRenderPipeline: {fileID: 11400000, guid: 4b83569d67af61e458304325a23e5dfd, type: 2}
|
||||
m_TransparencySortMode: 0
|
||||
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
|
||||
m_DefaultRenderingPath: 1
|
||||
@@ -60,8 +58,7 @@ GraphicsSettings:
|
||||
m_FogKeepExp2: 1
|
||||
m_AlbedoSwatchInfos: []
|
||||
m_RenderPipelineGlobalSettingsMap:
|
||||
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 18dc0cd2c080841dea60987a38ce93fa,
|
||||
type: 2}
|
||||
UnityEngine.Rendering.Universal.UniversalRenderPipeline: {fileID: 11400000, guid: 18dc0cd2c080841dea60987a38ce93fa, type: 2}
|
||||
m_LightsUseLinearIntensity: 1
|
||||
m_LightsUseColorTemperature: 1
|
||||
m_LogWhenShaderIsCompiled: 0
|
||||
|
||||
@@ -141,7 +141,8 @@ PlayerSettings:
|
||||
visionOSBundleVersion: 1.0
|
||||
tvOSBundleVersion: 1.0
|
||||
bundleVersion: 0.1.0
|
||||
preloadedAssets: []
|
||||
preloadedAssets:
|
||||
- {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}
|
||||
metroInputSource: 0
|
||||
wsaTransparentSwapchain: 0
|
||||
m_HolographicPauseOnTrackingLoss: 1
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -96,14 +96,6 @@
|
||||
Supported transports that can be used to connect with.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.MQTT.SupportedTransports.TCP">
|
||||
<summary>
|
||||
Transport over raw TCP.
|
||||
</summary>
|
||||
<remarks>
|
||||
NOT available under WebGL.
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="F:Best.MQTT.SupportedTransports.WebSocket">
|
||||
<summary>
|
||||
Transport using WebSocket connections.
|
||||
@@ -186,11 +178,6 @@
|
||||
</code>
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:Best.MQTT.ConnectionOptionsBuilder.WithTCP(System.String,System.Int32)">
|
||||
<summary>
|
||||
Add options for a TCP connection.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.MQTT.ConnectionOptionsBuilder.WithWebSocket(System.String,System.Int32)">
|
||||
<summary>
|
||||
Add options for a WebSocket connection.
|
||||
@@ -1064,21 +1051,6 @@
|
||||
Delete session from the store and all of its related files.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.MQTT.Transports.SecureTCPTransport">
|
||||
<summary>
|
||||
Transport to use raw TCP connections with optional secure (TLS) layer use.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.MQTT.Transports.SecureTCPTransport._buffers">
|
||||
<summary>
|
||||
Queue for sending packets
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.MQTT.Transports.SecureTCPTransport._bufferAvailableEvent">
|
||||
<summary>
|
||||
Event to signal the sending thread.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.MQTT.Transports.Transport">
|
||||
<summary>
|
||||
Abstract base class for concreate transport implementations.
|
||||
|
||||
@@ -4,215 +4,6 @@
|
||||
<name>com.Tivadar.Best.WebSockets</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Best.WebSockets.Extensions.IExtension">
|
||||
<summary>
|
||||
Interface for websocket-extension implementations.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.IExtension.AddNegotiation(Best.HTTP.HTTPRequest)">
|
||||
<summary>
|
||||
This is the first pass: here we can add headers to the request to initiate an extension negotiation.
|
||||
</summary>
|
||||
<param name="request"></param>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.IExtension.ParseNegotiation(Best.HTTP.HTTPResponse)">
|
||||
<summary>
|
||||
If the websocket upgrade succeded it will call this function to be able to parse the server's negotiation
|
||||
response. Inside this function the IsEnabled should be set.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.IExtension.GetFrameHeader(Best.WebSockets.Implementations.Frames.WebSocketFrame,System.Byte)">
|
||||
<summary>
|
||||
This function should return a new header flag based on the inFlag parameter. The extension should set only the
|
||||
Rsv1-3 bits in the header.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.IExtension.Encode(Best.WebSockets.Implementations.Frames.WebSocketFrame)">
|
||||
<summary>
|
||||
This function will be called to be able to transform the data that will be sent to the server.
|
||||
</summary>
|
||||
<param name="writer"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.IExtension.Decode(System.Byte,Best.HTTP.Shared.PlatformSupport.Memory.BufferSegment)">
|
||||
<summary>
|
||||
This function can be used the decode the server-sent data.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Extensions.PerMessageCompression">
|
||||
<summary>
|
||||
Compression Extensions for WebSocket implementation.
|
||||
http://tools.ietf.org/html/rfc7692
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Extensions.PerMessageCompression.ClientNoContextTakeover">
|
||||
<summary>
|
||||
By including this extension parameter in an extension negotiation offer, a client informs the peer server
|
||||
of a hint that even if the server doesn't include the "client_no_context_takeover" extension parameter in
|
||||
the corresponding extension negotiation response to the offer, the client is not going to use context takeover.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Extensions.PerMessageCompression.ServerNoContextTakeover">
|
||||
<summary>
|
||||
By including this extension parameter in an extension negotiation offer, a client prevents the peer server from using context takeover.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Extensions.PerMessageCompression.ClientMaxWindowBits">
|
||||
<summary>
|
||||
This parameter indicates the base-2 logarithm of the LZ77 sliding window size of the client context.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Extensions.PerMessageCompression.ServerMaxWindowBits">
|
||||
<summary>
|
||||
This parameter indicates the base-2 logarithm of the LZ77 sliding window size of the server context.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Extensions.PerMessageCompression.Level">
|
||||
<summary>
|
||||
The compression level that the client will use to compress the frames.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Extensions.PerMessageCompression.MinimumDataLegthToCompress">
|
||||
<summary>
|
||||
What minimum data length will trigger the compression.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Extensions.PerMessageCompression.compressorOutputStream">
|
||||
<summary>
|
||||
Cached object to support context takeover.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Extensions.PerMessageCompression.decompressorInputStream">
|
||||
<summary>
|
||||
Cached object to support context takeover.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.PerMessageCompression.AddNegotiation(Best.HTTP.HTTPRequest)">
|
||||
<summary>
|
||||
This will start the permessage-deflate negotiation process.
|
||||
<seealso href="http://tools.ietf.org/html/rfc7692#section-5.1"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.PerMessageCompression.GetFrameHeader(Best.WebSockets.Implementations.Frames.WebSocketFrame,System.Byte)">
|
||||
<summary>
|
||||
IExtension implementation to set the Rsv1 flag in the header if we are we will want to compress the data
|
||||
in the writer.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.PerMessageCompression.Encode(Best.WebSockets.Implementations.Frames.WebSocketFrame)">
|
||||
<summary>
|
||||
IExtension implementation to be able to compress the data hold in the writer.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.PerMessageCompression.Decode(System.Byte,Best.HTTP.Shared.PlatformSupport.Memory.BufferSegment)">
|
||||
<summary>
|
||||
IExtension implementation to possible decompress the data.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.PerMessageCompression.Compress(Best.HTTP.Shared.PlatformSupport.Memory.BufferSegment)">
|
||||
<summary>
|
||||
A function to compress and return the data parameter with possible context takeover support (reusing the DeflateStream).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Extensions.PerMessageCompression.Decompress(Best.HTTP.Shared.PlatformSupport.Memory.BufferSegment)">
|
||||
<summary>
|
||||
A function to decompress and return the data parameter with possible context takeover support (reusing the DeflateStream).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Implementations.Frames.WebSocketFrame">
|
||||
<summary>
|
||||
Denotes a binary frame. The "Payload data" is arbitrary binary data whose interpretation is solely up to the application layer.
|
||||
This is the base class of all other frame writers, as all frame can be represented as a byte array.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Implementations.Frames.WebSocketFrameReader">
|
||||
<summary>
|
||||
Represents an incoming WebSocket Frame.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Implementations.Frames.WebSocketFrameReader.IsFinal">
|
||||
<summary>
|
||||
True if it's a final Frame in a sequence, or the only one.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Implementations.Frames.WebSocketFrameReader.Type">
|
||||
<summary>
|
||||
The type of the Frame.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Implementations.Frames.WebSocketFrameReader.Data">
|
||||
<summary>
|
||||
The decoded array of bytes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.Implementations.Frames.WebSocketFrameReader.DataAsText">
|
||||
<summary>
|
||||
Textual representation of the received Data.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Implementations.Frames.WebSocketFrameReader.Assemble(System.Collections.Generic.List{Best.WebSockets.Implementations.Frames.WebSocketFrameReader})">
|
||||
<summary>
|
||||
Assembles all fragments into a final frame. Call this on the last fragment of a frame.
|
||||
</summary>
|
||||
<param name="fragments">The list of previously downloaded and parsed fragments of the frame</param>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Implementations.Frames.WebSocketFrameReader.DecodeWithExtensions(Best.WebSockets.WebSocket)">
|
||||
<summary>
|
||||
This function will decode the received data incrementally with the associated websocket's extensions.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Implementations.Frames.WebSocketFrameTypes">
|
||||
<summary>
|
||||
Enumeration for possible WebSocket frame types.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.Frames.WebSocketFrameTypes.Continuation">
|
||||
<summary>
|
||||
A fragmented message's first frame's contain the type of the message(binary or text), all consecutive frame of that message must be a Continuation frame.
|
||||
Last of these frame's Fin bit must be 1.
|
||||
</summary>
|
||||
<example>For a text message sent as three fragments, the first fragment would have an opcode of 0x1 (text) and a FIN bit clear,
|
||||
the second fragment would have an opcode of 0x0 (Continuation) and a FIN bit clear,
|
||||
and the third fragment would have an opcode of 0x0 (Continuation) and a FIN bit that is set.</example>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.Frames.WebSocketFrameTypes.ConnectionClose">
|
||||
<summary>
|
||||
The Close frame MAY contain a body (the "Application data" portion of the frame) that indicates a reason for closing,
|
||||
such as an endpoint shutting down, an endpoint having received a frame too large, or an endpoint having received a frame that
|
||||
does not conform to the format expected by the endpoint.
|
||||
As the data is not guaranteed to be human readable, clients MUST NOT show it to end users.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.Frames.WebSocketFrameTypes.Ping">
|
||||
<summary>
|
||||
The Ping frame contains an opcode of 0x9. A Ping frame MAY include "Application data".
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.Frames.WebSocketFrameTypes.Pong">
|
||||
<summary>
|
||||
A Pong frame sent in response to a Ping frame must have identical "Application data" as found in the message body of the Ping frame being replied to.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Implementations.OverHTTP1">
|
||||
<summary>
|
||||
Implements WebSocket communication through an HTTP/1 connection.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.OverHTTP1.requestSent">
|
||||
<summary>
|
||||
Indicates whether we sent out the connection request to the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Implementations.OverHTTP2">
|
||||
<summary>
|
||||
Implements RFC 8441 (https://tools.ietf.org/html/rfc8441) to use Websocket over HTTP/2
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Implementations.OverHTTP2.GetNextInteraction">
|
||||
<summary>
|
||||
Next interaction relative to *now*.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.Implementations.WebSocketStates">
|
||||
<summary>
|
||||
States of the underlying implementation's state.
|
||||
@@ -228,26 +19,6 @@
|
||||
Capacity of the RTT buffer where the latencies are kept.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.WebSocketBaseImplementation.rtts">
|
||||
<summary>
|
||||
A circular buffer to store the last N rtt times calculated by the pong messages.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.WebSocketBaseImplementation.lastPing">
|
||||
<summary>
|
||||
When we sent out the last ping.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.Implementations.WebSocketBaseImplementation._closeSent">
|
||||
<summary>
|
||||
True if we sent out a Close message to the server
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.Implementations.WebSocketBaseImplementation.Send(Best.WebSockets.Implementations.Frames.WebSocketFrame)">
|
||||
<summary>
|
||||
It will send the given frame to the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Best.WebSockets.WebSocket">
|
||||
<summary>
|
||||
Implements the WebSocket standard for duplex, two-way communications.
|
||||
@@ -268,48 +39,6 @@
|
||||
Data waiting to be written to the wire.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.SendPings">
|
||||
<summary>
|
||||
Set to <c>true</c> to start sending Ping frames to the WebSocket server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.PingFrequency">
|
||||
<summary>
|
||||
The delay between two Pings in milliseconds. Minimum value is 100ms, default is 10 seconds.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.CloseAfterNoMessage">
|
||||
<summary>
|
||||
If <see cref="P:Best.WebSockets.WebSocket.SendPings"/> set to <c>true</c>, the plugin will close the connection and emit an <see cref="F:Best.WebSockets.WebSocket.OnClosed"/> event if no
|
||||
message is received from the server in the given time. Its default value is 2 sec.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.InternalRequest">
|
||||
<summary>
|
||||
The internal <see cref="T:Best.HTTP.HTTPRequest"/> object.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.Extensions">
|
||||
<summary>
|
||||
<see cref="T:Best.WebSockets.Extensions.IExtension"/> implementations the plugin will negotiate with the server to use.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.Latency">
|
||||
<summary>
|
||||
Latency calculated from ping-pong message round-trip times.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Best.WebSockets.WebSocket.LastMessageReceived">
|
||||
<summary>
|
||||
When the WebSocket instance received the last message from the server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.WebSocket.OnInternalRequestCreated">
|
||||
<summary>
|
||||
When the <c>Websocket Over HTTP/2</c> implementation fails to connect and <see cref="T:Best.HTTP.Hosts.Connections.HTTP2.WebSocketOverHTTP2Settings"/><c>.</c><see cref="P:Best.HTTP.Hosts.Connections.HTTP2.WebSocketOverHTTP2Settings.EnableImplementationFallback"/> is <c>true</c>, the plugin tries to fall back to the HTTP/1 implementation.
|
||||
When this happens a new <see cref="P:Best.WebSockets.WebSocket.InternalRequest"/> is created and all previous custom modifications (like added headers) are lost. With OnInternalRequestCreated these modifications can be reapplied.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Best.WebSockets.WebSocket.OnOpen">
|
||||
<summary>
|
||||
Called when the connection to the WebSocket server is established.
|
||||
@@ -349,14 +78,6 @@
|
||||
<param name="uri">The uri of the WebSocket server</param>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.WebSocket.#ctor(System.Uri,System.String,System.String)">
|
||||
<summary>
|
||||
Creates a WebSocket instance from the given uri.
|
||||
</summary>
|
||||
<param name="uri">Uri of the WebSocket endpoint.</param>
|
||||
<param name="origin">Where the WebSocket originating from.</param>
|
||||
<param name="protocol">The application-level protocol that the client want to use(eg. "chat", "leaderboard", etc.). Can be null or empty string if not used.</param>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.WebSocket.#ctor(System.Uri,System.String,System.String,Best.WebSockets.Extensions.IExtension[])">
|
||||
<summary>
|
||||
Creates a WebSocket instance from the given uri, protocol and origin.
|
||||
</summary>
|
||||
@@ -364,7 +85,7 @@
|
||||
<param name="origin">Servers that are not intended to process input from any web page but only for certain sites SHOULD verify the |Origin| field is an origin they expect.
|
||||
If the origin indicated is unacceptable to the server, then it SHOULD respond to the WebSocket handshake with a reply containing HTTP 403 Forbidden status code.</param>
|
||||
<param name="protocol">The application-level protocol that the client want to use(eg. "chat", "leaderboard", etc.). Can be null or empty string if not used.</param>
|
||||
<param name="extensions">Optional <see cref="T:Best.WebSockets.Extensions.IExtension"/> implementations</param>
|
||||
<param name="extensions">Optional <see cref="!:IExtension"/> implementations</param>
|
||||
</member>
|
||||
<member name="M:Best.WebSockets.WebSocket.Open">
|
||||
<summary>
|
||||
|
||||
Reference in New Issue
Block a user