mirror of https://github.com/grpc/grpc.git
commit
45cabbd562
1188 changed files with 72482 additions and 33153 deletions
@ -1,14 +1,18 @@ |
||||
mergeable: |
||||
pull_requests: |
||||
label: |
||||
or: |
||||
- and: |
||||
and: |
||||
- must_exclude: |
||||
regex: '^disposition/DO NOT MERGE' |
||||
message: 'Pull request marked not mergeable' |
||||
- or: |
||||
- and: |
||||
- must_include: |
||||
regex: 'release notes: yes' |
||||
message: 'Please include release note: yes' |
||||
- must_include: |
||||
regex: '^lang\/' |
||||
message: 'Please include a language label' |
||||
- must_include: |
||||
regex: 'release notes: yes' |
||||
message: 'Please include release note: yes' |
||||
- must_include: |
||||
regex: '^lang\/' |
||||
message: 'Please include a language label' |
||||
- must_include: |
||||
regex: 'release notes: no' |
||||
message: 'Please include release note: no' |
||||
regex: 'release notes: no' |
||||
message: 'Please include release note: no' |
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,16 @@ |
||||
load("//third_party/py:python_configure.bzl", "python_configure") |
||||
load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories") |
||||
load("@grpc_python_dependencies//:requirements.bzl", "pip_install") |
||||
load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_repositories") |
||||
|
||||
def grpc_python_deps(): |
||||
# TODO(https://github.com/grpc/grpc/issues/18256): Remove conditional. |
||||
if hasattr(native, "http_archive"): |
||||
python_configure(name = "local_config_python") |
||||
pip_repositories() |
||||
pip_install() |
||||
py_proto_repositories() |
||||
else: |
||||
print("Building Python gRPC with bazel 23.0+ is disabled pending " + |
||||
"resolution of https://github.com/grpc/grpc/issues/18256.") |
||||
|
@ -0,0 +1,7 @@ |
||||
gRPC Status |
||||
==================== |
||||
|
||||
Module Contents |
||||
--------------- |
||||
|
||||
.. automodule:: grpc_status.rpc_status |
@ -0,0 +1,52 @@ |
||||
[Ll]ibrary/ |
||||
[Tt]emp/ |
||||
[Oo]bj/ |
||||
[Bb]uild/ |
||||
[Bb]uilds/ |
||||
[Ll]ogs/ |
||||
|
||||
# Never ignore Asset meta data |
||||
![Aa]ssets/**/*.meta |
||||
|
||||
# Uncomment this line if you wish to ignore the asset store tools plugin |
||||
# [Aa]ssets/AssetStoreTools* |
||||
|
||||
# Visual Studio cache directory |
||||
.vs/ |
||||
|
||||
# Gradle cache directory |
||||
.gradle/ |
||||
|
||||
# Autogenerated VS/MD/Consulo solution and project files |
||||
ExportedObj/ |
||||
.consulo/ |
||||
*.csproj |
||||
*.unityproj |
||||
*.sln |
||||
*.suo |
||||
*.tmp |
||||
*.user |
||||
*.userprefs |
||||
*.pidb |
||||
*.booproj |
||||
*.svd |
||||
*.pdb |
||||
*.mdb |
||||
*.opendb |
||||
*.VC.db |
||||
|
||||
# Unity3D generated meta files |
||||
*.pidb.meta |
||||
*.pdb.meta |
||||
*.mdb.meta |
||||
|
||||
# Unity3D generated file on crash reports |
||||
sysinfo.txt |
||||
|
||||
# Builds |
||||
*.apk |
||||
*.unitypackage |
||||
|
||||
# Crashlytics generated file |
||||
crashlytics-build.properties |
||||
|
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 9e39cea189b0245c4a39113ff6459d24 |
||||
folderAsset: yes |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 131a6b21c8605f84396be9f6751fb6e3 |
||||
folderAsset: yes |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,586 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!29 &1 |
||||
OcclusionCullingSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 2 |
||||
m_OcclusionBakeSettings: |
||||
smallestOccluder: 5 |
||||
smallestHole: 0.25 |
||||
backfaceThreshold: 100 |
||||
m_SceneGUID: 00000000000000000000000000000000 |
||||
m_OcclusionCullingData: {fileID: 0} |
||||
--- !u!104 &2 |
||||
RenderSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 9 |
||||
m_Fog: 0 |
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} |
||||
m_FogMode: 3 |
||||
m_FogDensity: 0.01 |
||||
m_LinearFogStart: 0 |
||||
m_LinearFogEnd: 300 |
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} |
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} |
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} |
||||
m_AmbientIntensity: 1 |
||||
m_AmbientMode: 3 |
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} |
||||
m_SkyboxMaterial: {fileID: 0} |
||||
m_HaloStrength: 0.5 |
||||
m_FlareStrength: 1 |
||||
m_FlareFadeSpeed: 3 |
||||
m_HaloTexture: {fileID: 0} |
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_DefaultReflectionMode: 0 |
||||
m_DefaultReflectionResolution: 128 |
||||
m_ReflectionBounces: 1 |
||||
m_ReflectionIntensity: 1 |
||||
m_CustomReflection: {fileID: 0} |
||||
m_Sun: {fileID: 0} |
||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} |
||||
m_UseRadianceAmbientProbe: 0 |
||||
--- !u!157 &3 |
||||
LightmapSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 11 |
||||
m_GIWorkflowMode: 1 |
||||
m_GISettings: |
||||
serializedVersion: 2 |
||||
m_BounceScale: 1 |
||||
m_IndirectOutputScale: 1 |
||||
m_AlbedoBoost: 1 |
||||
m_TemporalCoherenceThreshold: 1 |
||||
m_EnvironmentLightingMode: 0 |
||||
m_EnableBakedLightmaps: 0 |
||||
m_EnableRealtimeLightmaps: 0 |
||||
m_LightmapEditorSettings: |
||||
serializedVersion: 10 |
||||
m_Resolution: 2 |
||||
m_BakeResolution: 40 |
||||
m_AtlasSize: 1024 |
||||
m_AO: 0 |
||||
m_AOMaxDistance: 1 |
||||
m_CompAOExponent: 1 |
||||
m_CompAOExponentDirect: 0 |
||||
m_Padding: 2 |
||||
m_LightmapParameters: {fileID: 0} |
||||
m_LightmapsBakeMode: 1 |
||||
m_TextureCompression: 1 |
||||
m_FinalGather: 0 |
||||
m_FinalGatherFiltering: 1 |
||||
m_FinalGatherRayCount: 256 |
||||
m_ReflectionCompression: 2 |
||||
m_MixedBakeMode: 2 |
||||
m_BakeBackend: 0 |
||||
m_PVRSampling: 1 |
||||
m_PVRDirectSampleCount: 32 |
||||
m_PVRSampleCount: 500 |
||||
m_PVRBounces: 2 |
||||
m_PVRFilterTypeDirect: 0 |
||||
m_PVRFilterTypeIndirect: 0 |
||||
m_PVRFilterTypeAO: 0 |
||||
m_PVRFilteringMode: 1 |
||||
m_PVRCulling: 1 |
||||
m_PVRFilteringGaussRadiusDirect: 1 |
||||
m_PVRFilteringGaussRadiusIndirect: 5 |
||||
m_PVRFilteringGaussRadiusAO: 2 |
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 |
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2 |
||||
m_PVRFilteringAtrousPositionSigmaAO: 1 |
||||
m_ShowResolutionOverlay: 1 |
||||
m_LightingDataAsset: {fileID: 0} |
||||
m_UseShadowmask: 1 |
||||
--- !u!196 &4 |
||||
NavMeshSettings: |
||||
serializedVersion: 2 |
||||
m_ObjectHideFlags: 0 |
||||
m_BuildSettings: |
||||
serializedVersion: 2 |
||||
agentTypeID: 0 |
||||
agentRadius: 0.5 |
||||
agentHeight: 2 |
||||
agentSlope: 45 |
||||
agentClimb: 0.4 |
||||
ledgeDropHeight: 0 |
||||
maxJumpAcrossDistance: 0 |
||||
minRegionArea: 2 |
||||
manualCellSize: 0 |
||||
cellSize: 0.16666667 |
||||
manualTileSize: 0 |
||||
tileSize: 256 |
||||
accuratePlacement: 0 |
||||
debug: |
||||
m_Flags: 0 |
||||
m_NavMeshData: {fileID: 0} |
||||
--- !u!1 &519420028 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 519420032} |
||||
- component: {fileID: 519420031} |
||||
- component: {fileID: 519420029} |
||||
m_Layer: 0 |
||||
m_Name: Main Camera |
||||
m_TagString: MainCamera |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!81 &519420029 |
||||
AudioListener: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 519420028} |
||||
m_Enabled: 1 |
||||
--- !u!20 &519420031 |
||||
Camera: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 519420028} |
||||
m_Enabled: 1 |
||||
serializedVersion: 2 |
||||
m_ClearFlags: 2 |
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} |
||||
m_projectionMatrixMode: 1 |
||||
m_SensorSize: {x: 36, y: 24} |
||||
m_LensShift: {x: 0, y: 0} |
||||
m_FocalLength: 50 |
||||
m_NormalizedViewPortRect: |
||||
serializedVersion: 2 |
||||
x: 0 |
||||
y: 0 |
||||
width: 1 |
||||
height: 1 |
||||
near clip plane: 0.3 |
||||
far clip plane: 1000 |
||||
field of view: 60 |
||||
orthographic: 1 |
||||
orthographic size: 5 |
||||
m_Depth: -1 |
||||
m_CullingMask: |
||||
serializedVersion: 2 |
||||
m_Bits: 4294967295 |
||||
m_RenderingPath: -1 |
||||
m_TargetTexture: {fileID: 0} |
||||
m_TargetDisplay: 0 |
||||
m_TargetEye: 0 |
||||
m_HDR: 1 |
||||
m_AllowMSAA: 0 |
||||
m_AllowDynamicResolution: 0 |
||||
m_ForceIntoRT: 0 |
||||
m_OcclusionCulling: 0 |
||||
m_StereoConvergence: 10 |
||||
m_StereoSeparation: 0.022 |
||||
--- !u!4 &519420032 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 519420028} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: -10} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
--- !u!1 &785253852 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 785253855} |
||||
- component: {fileID: 785253854} |
||||
- component: {fileID: 785253853} |
||||
m_Layer: 0 |
||||
m_Name: EventSystem |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &785253853 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 785253852} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_HorizontalAxis: Horizontal |
||||
m_VerticalAxis: Vertical |
||||
m_SubmitButton: Submit |
||||
m_CancelButton: Cancel |
||||
m_InputActionsPerSecond: 10 |
||||
m_RepeatDelay: 0.5 |
||||
m_ForceModuleActive: 0 |
||||
--- !u!114 &785253854 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 785253852} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_FirstSelected: {fileID: 0} |
||||
m_sendNavigationEvents: 1 |
||||
m_DragThreshold: 10 |
||||
--- !u!4 &785253855 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 785253852} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 2 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
--- !u!1 &1639505844 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 1639505846} |
||||
- component: {fileID: 1639505845} |
||||
m_Layer: 0 |
||||
m_Name: UIManager |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &1639505845 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1639505844} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: d62381e23356a4203b3e54cc6c2e3a4f, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
--- !u!4 &1639505846 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1639505844} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 3 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
--- !u!1 &1729899994 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 1729899995} |
||||
- component: {fileID: 1729899997} |
||||
- component: {fileID: 1729899996} |
||||
m_Layer: 5 |
||||
m_Name: Text |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &1729899995 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1729899994} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 2040475500} |
||||
m_RootOrder: 0 |
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||
m_AnchorMin: {x: 0, y: 0} |
||||
m_AnchorMax: {x: 1, y: 1} |
||||
m_AnchoredPosition: {x: 0, y: 0} |
||||
m_SizeDelta: {x: 0, y: 0} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!114 &1729899996 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1729899994} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_FontData: |
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_FontSize: 14 |
||||
m_FontStyle: 0 |
||||
m_BestFit: 0 |
||||
m_MinSize: 10 |
||||
m_MaxSize: 40 |
||||
m_Alignment: 4 |
||||
m_AlignByGeometry: 0 |
||||
m_RichText: 1 |
||||
m_HorizontalOverflow: 0 |
||||
m_VerticalOverflow: 0 |
||||
m_LineSpacing: 1 |
||||
m_Text: Hello gRPC!!! |
||||
--- !u!222 &1729899997 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1729899994} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!1 &2040475499 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 2040475500} |
||||
- component: {fileID: 2040475503} |
||||
- component: {fileID: 2040475502} |
||||
- component: {fileID: 2040475501} |
||||
m_Layer: 5 |
||||
m_Name: Button |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!224 &2040475500 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2040475499} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: |
||||
- {fileID: 1729899995} |
||||
m_Father: {fileID: 2066701619} |
||||
m_RootOrder: 0 |
||||
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: 500, y: 150} |
||||
m_Pivot: {x: 0.5, y: 0.5} |
||||
--- !u!114 &2040475501 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2040475499} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Navigation: |
||||
m_Mode: 3 |
||||
m_SelectOnUp: {fileID: 0} |
||||
m_SelectOnDown: {fileID: 0} |
||||
m_SelectOnLeft: {fileID: 0} |
||||
m_SelectOnRight: {fileID: 0} |
||||
m_Transition: 1 |
||||
m_Colors: |
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1} |
||||
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} |
||||
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} |
||||
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} |
||||
m_ColorMultiplier: 1 |
||||
m_FadeDuration: 0.1 |
||||
m_SpriteState: |
||||
m_HighlightedSprite: {fileID: 0} |
||||
m_PressedSprite: {fileID: 0} |
||||
m_DisabledSprite: {fileID: 0} |
||||
m_AnimationTriggers: |
||||
m_NormalTrigger: Normal |
||||
m_HighlightedTrigger: Highlighted |
||||
m_PressedTrigger: Pressed |
||||
m_DisabledTrigger: Disabled |
||||
m_Interactable: 1 |
||||
m_TargetGraphic: {fileID: 2040475502} |
||||
m_OnClick: |
||||
m_PersistentCalls: |
||||
m_Calls: |
||||
- m_Target: {fileID: 1639505845} |
||||
m_MethodName: RunHelloWorld |
||||
m_Mode: 2 |
||||
m_Arguments: |
||||
m_ObjectArgument: {fileID: 1729899996} |
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.UI.Text, UnityEngine.UI |
||||
m_IntArgument: 0 |
||||
m_FloatArgument: 0 |
||||
m_StringArgument: |
||||
m_BoolArgument: 0 |
||||
m_CallState: 2 |
||||
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, |
||||
Culture=neutral, PublicKeyToken=null |
||||
--- !u!114 &2040475502 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2040475499} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_Material: {fileID: 0} |
||||
m_Color: {r: 0.34157702, g: 0.6037736, b: 0.093983635, a: 1} |
||||
m_RaycastTarget: 1 |
||||
m_OnCullStateChanged: |
||||
m_PersistentCalls: |
||||
m_Calls: [] |
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, |
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null |
||||
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_Type: 1 |
||||
m_PreserveAspect: 0 |
||||
m_FillCenter: 1 |
||||
m_FillMethod: 4 |
||||
m_FillAmount: 1 |
||||
m_FillClockwise: 1 |
||||
m_FillOrigin: 0 |
||||
--- !u!222 &2040475503 |
||||
CanvasRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2040475499} |
||||
m_CullTransparentMesh: 0 |
||||
--- !u!1 &2066701615 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 6 |
||||
m_Component: |
||||
- component: {fileID: 2066701619} |
||||
- component: {fileID: 2066701618} |
||||
- component: {fileID: 2066701617} |
||||
- component: {fileID: 2066701616} |
||||
m_Layer: 5 |
||||
m_Name: Canvas |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &2066701616 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2066701615} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_IgnoreReversedGraphics: 1 |
||||
m_BlockingObjects: 0 |
||||
m_BlockingMask: |
||||
serializedVersion: 2 |
||||
m_Bits: 4294967295 |
||||
--- !u!114 &2066701617 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2066701615} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_UiScaleMode: 0 |
||||
m_ReferencePixelsPerUnit: 100 |
||||
m_ScaleFactor: 1 |
||||
m_ReferenceResolution: {x: 800, y: 600} |
||||
m_ScreenMatchMode: 0 |
||||
m_MatchWidthOrHeight: 0 |
||||
m_PhysicalUnit: 3 |
||||
m_FallbackScreenDPI: 96 |
||||
m_DefaultSpriteDPI: 96 |
||||
m_DynamicPixelsPerUnit: 1 |
||||
--- !u!223 &2066701618 |
||||
Canvas: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2066701615} |
||||
m_Enabled: 1 |
||||
serializedVersion: 3 |
||||
m_RenderMode: 0 |
||||
m_Camera: {fileID: 0} |
||||
m_PlaneDistance: 100 |
||||
m_PixelPerfect: 0 |
||||
m_ReceivesEvents: 1 |
||||
m_OverrideSorting: 0 |
||||
m_OverridePixelPerfect: 0 |
||||
m_SortingBucketNormalizedSize: 0 |
||||
m_AdditionalShaderChannelsFlag: 0 |
||||
m_SortingLayerID: 0 |
||||
m_SortingOrder: 0 |
||||
m_TargetDisplay: 0 |
||||
--- !u!224 &2066701619 |
||||
RectTransform: |
||||
m_ObjectHideFlags: 0 |
||||
m_CorrespondingSourceObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 2066701615} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 0, y: 0, z: 0} |
||||
m_Children: |
||||
- {fileID: 2040475500} |
||||
m_Father: {fileID: 0} |
||||
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, y: 0} |
@ -0,0 +1,7 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 2cda990e2423bbf4892e6590ba056729 |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,8 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 55598493aa3774a6dad4b7a4974826ff |
||||
folderAsset: yes |
||||
DefaultImporter: |
||||
externalObjects: {} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,38 @@ |
||||
#region Copyright notice and license |
||||
|
||||
// Copyright 2019 The gRPC Authors |
||||
// |
||||
// Licensed under the Apache License, Version 2.0 (the "License"); |
||||
// you may not use this file except in compliance with the License. |
||||
// You may obtain a copy of the License at |
||||
// |
||||
// http://www.apache.org/licenses/LICENSE-2.0 |
||||
// |
||||
// Unless required by applicable law or agreed to in writing, software |
||||
// distributed under the License is distributed on an "AS IS" BASIS, |
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
// See the License for the specific language governing permissions and |
||||
// limitations under the License. |
||||
|
||||
#endregion |
||||
|
||||
using UnityEngine; |
||||
using UnityEngine.UI; |
||||
|
||||
public class HelloWorldScript : MonoBehaviour { |
||||
int counter = 1; |
||||
|
||||
// Use this for initialization |
||||
void Start () {} |
||||
|
||||
// Update is called once per frame |
||||
void Update() {} |
||||
|
||||
// Ran when button is clicked |
||||
public void RunHelloWorld(Text text) |
||||
{ |
||||
var reply = HelloWorldTest.Greet("Unity " + counter); |
||||
text.text = "Greeting: " + reply.Message; |
||||
counter++; |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
fileFormatVersion: 2 |
||||
guid: d62381e23356a4203b3e54cc6c2e3a4f |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,81 @@ |
||||
#region Copyright notice and license |
||||
|
||||
// Copyright 2019 The gRPC Authors |
||||
// |
||||
// Licensed under the Apache License, Version 2.0 (the "License"); |
||||
// you may not use this file except in compliance with the License. |
||||
// You may obtain a copy of the License at |
||||
// |
||||
// http://www.apache.org/licenses/LICENSE-2.0 |
||||
// |
||||
// Unless required by applicable law or agreed to in writing, software |
||||
// distributed under the License is distributed on an "AS IS" BASIS, |
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
// See the License for the specific language governing permissions and |
||||
// limitations under the License. |
||||
|
||||
#endregion |
||||
|
||||
using UnityEngine; |
||||
using System.Threading.Tasks; |
||||
using System; |
||||
using Grpc.Core; |
||||
using Helloworld; |
||||
|
||||
class HelloWorldTest |
||||
{ |
||||
// Can be run from commandline. |
||||
// Example command: |
||||
// "/Applications/Unity/Unity.app/Contents/MacOS/Unity -quit -batchmode -nographics -executeMethod HelloWorldTest.RunHelloWorld -logfile" |
||||
public static void RunHelloWorld() |
||||
{ |
||||
Application.SetStackTraceLogType(LogType.Log, StackTraceLogType.None); |
||||
|
||||
Debug.Log("=============================================================="); |
||||
Debug.Log("Starting tests"); |
||||
Debug.Log("=============================================================="); |
||||
|
||||
Debug.Log("Application.platform: " + Application.platform); |
||||
Debug.Log("Environment.OSVersion: " + Environment.OSVersion); |
||||
|
||||
var reply = Greet("Unity"); |
||||
Debug.Log("Greeting: " + reply.Message); |
||||
|
||||
Debug.Log("=============================================================="); |
||||
Debug.Log("Tests finished successfully."); |
||||
Debug.Log("=============================================================="); |
||||
} |
||||
|
||||
public static HelloReply Greet(string greeting) |
||||
{ |
||||
const int Port = 50051; |
||||
|
||||
Server server = new Server |
||||
{ |
||||
Services = { Greeter.BindService(new GreeterImpl()) }, |
||||
Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) } |
||||
}; |
||||
server.Start(); |
||||
|
||||
Channel channel = new Channel("127.0.0.1:50051", ChannelCredentials.Insecure); |
||||
|
||||
var client = new Greeter.GreeterClient(channel); |
||||
|
||||
var reply = client.SayHello(new HelloRequest { Name = greeting }); |
||||
|
||||
channel.ShutdownAsync().Wait(); |
||||
|
||||
server.ShutdownAsync().Wait(); |
||||
|
||||
return reply; |
||||
} |
||||
|
||||
class GreeterImpl : Greeter.GreeterBase |
||||
{ |
||||
// Server side handler of the SayHello RPC |
||||
public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context) |
||||
{ |
||||
return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,11 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 8c088e5dee11c45fc95e41b9281d55e2 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,286 @@ |
||||
// Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
// source: helloworld.proto |
||||
#pragma warning disable 1591, 0612, 3021 |
||||
#region Designer generated code |
||||
|
||||
using pb = global::Google.Protobuf; |
||||
using pbc = global::Google.Protobuf.Collections; |
||||
using pbr = global::Google.Protobuf.Reflection; |
||||
using scg = global::System.Collections.Generic; |
||||
namespace Helloworld { |
||||
|
||||
/// <summary>Holder for reflection information generated from helloworld.proto</summary> |
||||
public static partial class HelloworldReflection { |
||||
|
||||
#region Descriptor |
||||
/// <summary>File descriptor for helloworld.proto</summary> |
||||
public static pbr::FileDescriptor Descriptor { |
||||
get { return descriptor; } |
||||
} |
||||
private static pbr::FileDescriptor descriptor; |
||||
|
||||
static HelloworldReflection() { |
||||
byte[] descriptorData = global::System.Convert.FromBase64String( |
||||
string.Concat( |
||||
"ChBoZWxsb3dvcmxkLnByb3RvEgpoZWxsb3dvcmxkIhwKDEhlbGxvUmVxdWVz", |
||||
"dBIMCgRuYW1lGAEgASgJIh0KCkhlbGxvUmVwbHkSDwoHbWVzc2FnZRgBIAEo", |
||||
"CTJJCgdHcmVldGVyEj4KCFNheUhlbGxvEhguaGVsbG93b3JsZC5IZWxsb1Jl", |
||||
"cXVlc3QaFi5oZWxsb3dvcmxkLkhlbGxvUmVwbHkiAEI2Chtpby5ncnBjLmV4", |
||||
"YW1wbGVzLmhlbGxvd29ybGRCD0hlbGxvV29ybGRQcm90b1ABogIDSExXYgZw", |
||||
"cm90bzM=")); |
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
||||
new pbr::FileDescriptor[] { }, |
||||
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { |
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Helloworld.HelloRequest), global::Helloworld.HelloRequest.Parser, new[]{ "Name" }, null, null, null), |
||||
new pbr::GeneratedClrTypeInfo(typeof(global::Helloworld.HelloReply), global::Helloworld.HelloReply.Parser, new[]{ "Message" }, null, null, null) |
||||
})); |
||||
} |
||||
#endregion |
||||
|
||||
} |
||||
#region Messages |
||||
/// <summary> |
||||
/// The request message containing the user's name. |
||||
/// </summary> |
||||
public sealed partial class HelloRequest : pb::IMessage<HelloRequest> { |
||||
private static readonly pb::MessageParser<HelloRequest> _parser = new pb::MessageParser<HelloRequest>(() => new HelloRequest()); |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pb::MessageParser<HelloRequest> Parser { get { return _parser; } } |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pbr::MessageDescriptor Descriptor { |
||||
get { return global::Helloworld.HelloworldReflection.Descriptor.MessageTypes[0]; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||
get { return Descriptor; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public HelloRequest() { |
||||
OnConstruction(); |
||||
} |
||||
|
||||
partial void OnConstruction(); |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public HelloRequest(HelloRequest other) : this() { |
||||
name_ = other.name_; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public HelloRequest Clone() { |
||||
return new HelloRequest(this); |
||||
} |
||||
|
||||
/// <summary>Field number for the "name" field.</summary> |
||||
public const int NameFieldNumber = 1; |
||||
private string name_ = ""; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public string Name { |
||||
get { return name_; } |
||||
set { |
||||
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override bool Equals(object other) { |
||||
return Equals(other as HelloRequest); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public bool Equals(HelloRequest other) { |
||||
if (ReferenceEquals(other, null)) { |
||||
return false; |
||||
} |
||||
if (ReferenceEquals(other, this)) { |
||||
return true; |
||||
} |
||||
if (Name != other.Name) return false; |
||||
return true; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override int GetHashCode() { |
||||
int hash = 1; |
||||
if (Name.Length != 0) hash ^= Name.GetHashCode(); |
||||
return hash; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override string ToString() { |
||||
return pb::JsonFormatter.ToDiagnosticString(this); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void WriteTo(pb::CodedOutputStream output) { |
||||
if (Name.Length != 0) { |
||||
output.WriteRawTag(10); |
||||
output.WriteString(Name); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public int CalculateSize() { |
||||
int size = 0; |
||||
if (Name.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
||||
} |
||||
return size; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(HelloRequest other) { |
||||
if (other == null) { |
||||
return; |
||||
} |
||||
if (other.Name.Length != 0) { |
||||
Name = other.Name; |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(pb::CodedInputStream input) { |
||||
uint tag; |
||||
while ((tag = input.ReadTag()) != 0) { |
||||
switch(tag) { |
||||
default: |
||||
input.SkipLastField(); |
||||
break; |
||||
case 10: { |
||||
Name = input.ReadString(); |
||||
break; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
/// <summary> |
||||
/// The response message containing the greetings |
||||
/// </summary> |
||||
public sealed partial class HelloReply : pb::IMessage<HelloReply> { |
||||
private static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() => new HelloReply()); |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pb::MessageParser<HelloReply> Parser { get { return _parser; } } |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public static pbr::MessageDescriptor Descriptor { |
||||
get { return global::Helloworld.HelloworldReflection.Descriptor.MessageTypes[1]; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
pbr::MessageDescriptor pb::IMessage.Descriptor { |
||||
get { return Descriptor; } |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public HelloReply() { |
||||
OnConstruction(); |
||||
} |
||||
|
||||
partial void OnConstruction(); |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public HelloReply(HelloReply other) : this() { |
||||
message_ = other.message_; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public HelloReply Clone() { |
||||
return new HelloReply(this); |
||||
} |
||||
|
||||
/// <summary>Field number for the "message" field.</summary> |
||||
public const int MessageFieldNumber = 1; |
||||
private string message_ = ""; |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public string Message { |
||||
get { return message_; } |
||||
set { |
||||
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override bool Equals(object other) { |
||||
return Equals(other as HelloReply); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public bool Equals(HelloReply other) { |
||||
if (ReferenceEquals(other, null)) { |
||||
return false; |
||||
} |
||||
if (ReferenceEquals(other, this)) { |
||||
return true; |
||||
} |
||||
if (Message != other.Message) return false; |
||||
return true; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override int GetHashCode() { |
||||
int hash = 1; |
||||
if (Message.Length != 0) hash ^= Message.GetHashCode(); |
||||
return hash; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public override string ToString() { |
||||
return pb::JsonFormatter.ToDiagnosticString(this); |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void WriteTo(pb::CodedOutputStream output) { |
||||
if (Message.Length != 0) { |
||||
output.WriteRawTag(10); |
||||
output.WriteString(Message); |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public int CalculateSize() { |
||||
int size = 0; |
||||
if (Message.Length != 0) { |
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); |
||||
} |
||||
return size; |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(HelloReply other) { |
||||
if (other == null) { |
||||
return; |
||||
} |
||||
if (other.Message.Length != 0) { |
||||
Message = other.Message; |
||||
} |
||||
} |
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
||||
public void MergeFrom(pb::CodedInputStream input) { |
||||
uint tag; |
||||
while ((tag = input.ReadTag()) != 0) { |
||||
switch(tag) { |
||||
default: |
||||
input.SkipLastField(); |
||||
break; |
||||
case 10: { |
||||
Message = input.ReadString(); |
||||
break; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
#endregion |
||||
|
||||
} |
||||
|
||||
#endregion Designer generated code |
@ -0,0 +1,11 @@ |
||||
fileFormatVersion: 2 |
||||
guid: 8bfcdd9a5979d4cc7b76d17be585e778 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,150 @@ |
||||
// Generated by the protocol buffer compiler. DO NOT EDIT! |
||||
// source: helloworld.proto |
||||
// Original file comments: |
||||
// Copyright 2015 gRPC authors. |
||||
// |
||||
// Licensed under the Apache License, Version 2.0 (the "License"); |
||||
// you may not use this file except in compliance with the License. |
||||
// You may obtain a copy of the License at |
||||
// |
||||
// http://www.apache.org/licenses/LICENSE-2.0 |
||||
// |
||||
// Unless required by applicable law or agreed to in writing, software |
||||
// distributed under the License is distributed on an "AS IS" BASIS, |
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
// See the License for the specific language governing permissions and |
||||
// limitations under the License. |
||||
// |
||||
#pragma warning disable 1591 |
||||
#region Designer generated code |
||||
|
||||
using System; |
||||
using System.Threading; |
||||
using System.Threading.Tasks; |
||||
using grpc = global::Grpc.Core; |
||||
|
||||
namespace Helloworld { |
||||
/// <summary> |
||||
/// The greeting service definition. |
||||
/// </summary> |
||||
public static partial class Greeter |
||||
{ |
||||
static readonly string __ServiceName = "helloworld.Greeter"; |
||||
|
||||
static readonly grpc::Marshaller<global::Helloworld.HelloRequest> __Marshaller_HelloRequest = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Helloworld.HelloRequest.Parser.ParseFrom); |
||||
static readonly grpc::Marshaller<global::Helloworld.HelloReply> __Marshaller_HelloReply = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Helloworld.HelloReply.Parser.ParseFrom); |
||||
|
||||
static readonly grpc::Method<global::Helloworld.HelloRequest, global::Helloworld.HelloReply> __Method_SayHello = new grpc::Method<global::Helloworld.HelloRequest, global::Helloworld.HelloReply>( |
||||
grpc::MethodType.Unary, |
||||
__ServiceName, |
||||
"SayHello", |
||||
__Marshaller_HelloRequest, |
||||
__Marshaller_HelloReply); |
||||
|
||||
/// <summary>Service descriptor</summary> |
||||
public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor |
||||
{ |
||||
get { return global::Helloworld.HelloworldReflection.Descriptor.Services[0]; } |
||||
} |
||||
|
||||
/// <summary>Base class for server-side implementations of Greeter</summary> |
||||
public abstract partial class GreeterBase |
||||
{ |
||||
/// <summary> |
||||
/// Sends a greeting |
||||
/// </summary> |
||||
/// <param name="request">The request received from the client.</param> |
||||
/// <param name="context">The context of the server-side call handler being invoked.</param> |
||||
/// <returns>The response to send back to the client (wrapped by a task).</returns> |
||||
public virtual global::System.Threading.Tasks.Task<global::Helloworld.HelloReply> SayHello(global::Helloworld.HelloRequest request, grpc::ServerCallContext context) |
||||
{ |
||||
throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); |
||||
} |
||||
|
||||
} |
||||
|
||||
/// <summary>Client for Greeter</summary> |
||||
public partial class GreeterClient : grpc::ClientBase<GreeterClient> |
||||
{ |
||||
/// <summary>Creates a new client for Greeter</summary> |
||||
/// <param name="channel">The channel to use to make remote calls.</param> |
||||
public GreeterClient(grpc::Channel channel) : base(channel) |
||||
{ |
||||
} |
||||
/// <summary>Creates a new client for Greeter that uses a custom <c>CallInvoker</c>.</summary> |
||||
/// <param name="callInvoker">The callInvoker to use to make remote calls.</param> |
||||
public GreeterClient(grpc::CallInvoker callInvoker) : base(callInvoker) |
||||
{ |
||||
} |
||||
/// <summary>Protected parameterless constructor to allow creation of test doubles.</summary> |
||||
protected GreeterClient() : base() |
||||
{ |
||||
} |
||||
/// <summary>Protected constructor to allow creation of configured clients.</summary> |
||||
/// <param name="configuration">The client configuration.</param> |
||||
protected GreeterClient(ClientBaseConfiguration configuration) : base(configuration) |
||||
{ |
||||
} |
||||
|
||||
/// <summary> |
||||
/// Sends a greeting |
||||
/// </summary> |
||||
/// <param name="request">The request to send to the server.</param> |
||||
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> |
||||
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> |
||||
/// <param name="cancellationToken">An optional token for canceling the call.</param> |
||||
/// <returns>The response received from the server.</returns> |
||||
public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) |
||||
{ |
||||
return SayHello(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||
} |
||||
/// <summary> |
||||
/// Sends a greeting |
||||
/// </summary> |
||||
/// <param name="request">The request to send to the server.</param> |
||||
/// <param name="options">The options for the call.</param> |
||||
/// <returns>The response received from the server.</returns> |
||||
public virtual global::Helloworld.HelloReply SayHello(global::Helloworld.HelloRequest request, grpc::CallOptions options) |
||||
{ |
||||
return CallInvoker.BlockingUnaryCall(__Method_SayHello, null, options, request); |
||||
} |
||||
/// <summary> |
||||
/// Sends a greeting |
||||
/// </summary> |
||||
/// <param name="request">The request to send to the server.</param> |
||||
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param> |
||||
/// <param name="deadline">An optional deadline for the call. The call will be cancelled if deadline is hit.</param> |
||||
/// <param name="cancellationToken">An optional token for canceling the call.</param> |
||||
/// <returns>The call object.</returns> |
||||
public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworld.HelloRequest request, grpc::Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken)) |
||||
{ |
||||
return SayHelloAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); |
||||
} |
||||
/// <summary> |
||||
/// Sends a greeting |
||||
/// </summary> |
||||
/// <param name="request">The request to send to the server.</param> |
||||
/// <param name="options">The options for the call.</param> |
||||
/// <returns>The call object.</returns> |
||||
public virtual grpc::AsyncUnaryCall<global::Helloworld.HelloReply> SayHelloAsync(global::Helloworld.HelloRequest request, grpc::CallOptions options) |
||||
{ |
||||
return CallInvoker.AsyncUnaryCall(__Method_SayHello, null, options, request); |
||||
} |
||||
/// <summary>Creates a new instance of client from given <c>ClientBaseConfiguration</c>.</summary> |
||||
protected override GreeterClient NewInstance(ClientBaseConfiguration configuration) |
||||
{ |
||||
return new GreeterClient(configuration); |
||||
} |
||||
} |
||||
|
||||
/// <summary>Creates service definition that can be registered with a server</summary> |
||||
/// <param name="serviceImpl">An object implementing the server-side handling logic.</param> |
||||
public static grpc::ServerServiceDefinition BindService(GreeterBase serviceImpl) |
||||
{ |
||||
return grpc::ServerServiceDefinition.CreateBuilder() |
||||
.AddMethod(__Method_SayHello, serviceImpl.SayHello).Build(); |
||||
} |
||||
|
||||
} |
||||
} |
||||
#endregion |
@ -0,0 +1,11 @@ |
||||
fileFormatVersion: 2 |
||||
guid: cf9b820c371a143ce96df8edaebb3fe2 |
||||
MonoImporter: |
||||
externalObjects: {} |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,17 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!11 &1 |
||||
AudioManager: |
||||
m_ObjectHideFlags: 0 |
||||
m_Volume: 1 |
||||
Rolloff Scale: 1 |
||||
Doppler Factor: 1 |
||||
Default Speaker Mode: 2 |
||||
m_SampleRate: 0 |
||||
m_DSPBufferSize: 1024 |
||||
m_VirtualVoiceCount: 512 |
||||
m_RealVoiceCount: 32 |
||||
m_SpatializerPlugin: |
||||
m_AmbisonicDecoderPlugin: |
||||
m_DisableAudio: 0 |
||||
m_VirtualizeEffects: 1 |
@ -0,0 +1,6 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!236 &1 |
||||
ClusterInputManager: |
||||
m_ObjectHideFlags: 0 |
||||
m_Inputs: [] |
@ -0,0 +1,29 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!55 &1 |
||||
PhysicsManager: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 7 |
||||
m_Gravity: {x: 0, y: -9.81, z: 0} |
||||
m_DefaultMaterial: {fileID: 0} |
||||
m_BounceThreshold: 2 |
||||
m_SleepThreshold: 0.005 |
||||
m_DefaultContactOffset: 0.01 |
||||
m_DefaultSolverIterations: 6 |
||||
m_DefaultSolverVelocityIterations: 1 |
||||
m_QueriesHitBackfaces: 0 |
||||
m_QueriesHitTriggers: 1 |
||||
m_EnableAdaptiveForce: 0 |
||||
m_ClothInterCollisionDistance: 0 |
||||
m_ClothInterCollisionStiffness: 0 |
||||
m_ContactsGeneration: 1 |
||||
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff |
||||
m_AutoSimulation: 1 |
||||
m_AutoSyncTransforms: 1 |
||||
m_ClothInterCollisionSettingsToggle: 0 |
||||
m_ContactPairsMode: 0 |
||||
m_BroadphaseType: 0 |
||||
m_WorldBounds: |
||||
m_Center: {x: 0, y: 0, z: 0} |
||||
m_Extent: {x: 250, y: 250, z: 250} |
||||
m_WorldSubdivisions: 8 |
@ -0,0 +1,11 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!1045 &1 |
||||
EditorBuildSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 2 |
||||
m_Scenes: |
||||
- enabled: 1 |
||||
path: Assets/Scenes/SampleScene.unity |
||||
guid: 2cda990e2423bbf4892e6590ba056729 |
||||
m_configObjects: {} |
@ -0,0 +1,21 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!159 &1 |
||||
EditorSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 7 |
||||
m_ExternalVersionControlSupport: Visible Meta Files |
||||
m_SerializationMode: 2 |
||||
m_LineEndingsForNewScripts: 2 |
||||
m_DefaultBehaviorMode: 1 |
||||
m_SpritePackerMode: 4 |
||||
m_SpritePackerPaddingPower: 1 |
||||
m_EtcTextureCompressorBehavior: 1 |
||||
m_EtcTextureFastCompressor: 1 |
||||
m_EtcTextureNormalCompressor: 2 |
||||
m_EtcTextureBestCompressor: 4 |
||||
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd |
||||
m_ProjectGenerationRootNamespace: |
||||
m_UserGeneratedProjectSuffix: |
||||
m_CollabEditorSettings: |
||||
inProgressEnabled: 1 |
@ -0,0 +1,60 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!30 &1 |
||||
GraphicsSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 12 |
||||
m_Deferred: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_DeferredReflections: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_ScreenSpaceShadows: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_LegacyDeferred: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_DepthNormals: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_MotionVectors: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_LightHalo: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_LensFlare: |
||||
m_Mode: 1 |
||||
m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_AlwaysIncludedShaders: |
||||
- {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} |
||||
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} |
||||
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} |
||||
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} |
||||
- {fileID: 16002, guid: 0000000000000000f000000000000000, type: 0} |
||||
m_PreloadedShaders: [] |
||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, |
||||
type: 0} |
||||
m_CustomRenderPipeline: {fileID: 0} |
||||
m_TransparencySortMode: 0 |
||||
m_TransparencySortAxis: {x: 0, y: 0, z: 1} |
||||
m_DefaultRenderingPath: 1 |
||||
m_DefaultMobileRenderingPath: 1 |
||||
m_TierSettings: [] |
||||
m_LightmapStripping: 0 |
||||
m_FogStripping: 0 |
||||
m_InstancingStripping: 0 |
||||
m_LightmapKeepPlain: 1 |
||||
m_LightmapKeepDirCombined: 1 |
||||
m_LightmapKeepDynamicPlain: 1 |
||||
m_LightmapKeepDynamicDirCombined: 1 |
||||
m_LightmapKeepShadowMask: 1 |
||||
m_LightmapKeepSubtractive: 1 |
||||
m_FogKeepLinear: 1 |
||||
m_FogKeepExp: 1 |
||||
m_FogKeepExp2: 1 |
||||
m_AlbedoSwatchInfos: [] |
||||
m_LightsUseLinearIntensity: 0 |
||||
m_LightsUseColorTemperature: 0 |
@ -0,0 +1,295 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!13 &1 |
||||
InputManager: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 2 |
||||
m_Axes: |
||||
- serializedVersion: 3 |
||||
m_Name: Horizontal |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: left |
||||
positiveButton: right |
||||
altNegativeButton: a |
||||
altPositiveButton: d |
||||
gravity: 3 |
||||
dead: 0.001 |
||||
sensitivity: 3 |
||||
snap: 1 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Vertical |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: down |
||||
positiveButton: up |
||||
altNegativeButton: s |
||||
altPositiveButton: w |
||||
gravity: 3 |
||||
dead: 0.001 |
||||
sensitivity: 3 |
||||
snap: 1 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Fire1 |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: left ctrl |
||||
altNegativeButton: |
||||
altPositiveButton: mouse 0 |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Fire2 |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: left alt |
||||
altNegativeButton: |
||||
altPositiveButton: mouse 1 |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Fire3 |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: left shift |
||||
altNegativeButton: |
||||
altPositiveButton: mouse 2 |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Jump |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: space |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Mouse X |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 0 |
||||
dead: 0 |
||||
sensitivity: 0.1 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 1 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Mouse Y |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 0 |
||||
dead: 0 |
||||
sensitivity: 0.1 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 1 |
||||
axis: 1 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Mouse ScrollWheel |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 0 |
||||
dead: 0 |
||||
sensitivity: 0.1 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 1 |
||||
axis: 2 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Horizontal |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 0 |
||||
dead: 0.19 |
||||
sensitivity: 1 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 2 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Vertical |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 0 |
||||
dead: 0.19 |
||||
sensitivity: 1 |
||||
snap: 0 |
||||
invert: 1 |
||||
type: 2 |
||||
axis: 1 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Fire1 |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: joystick button 0 |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Fire2 |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: joystick button 1 |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Fire3 |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: joystick button 2 |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Jump |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: joystick button 3 |
||||
altNegativeButton: |
||||
altPositiveButton: |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Submit |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: return |
||||
altNegativeButton: |
||||
altPositiveButton: joystick button 0 |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Submit |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: enter |
||||
altNegativeButton: |
||||
altPositiveButton: space |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
||||
- serializedVersion: 3 |
||||
m_Name: Cancel |
||||
descriptiveName: |
||||
descriptiveNegativeName: |
||||
negativeButton: |
||||
positiveButton: escape |
||||
altNegativeButton: |
||||
altPositiveButton: joystick button 1 |
||||
gravity: 1000 |
||||
dead: 0.001 |
||||
sensitivity: 1000 |
||||
snap: 0 |
||||
invert: 0 |
||||
type: 0 |
||||
axis: 0 |
||||
joyNum: 0 |
@ -0,0 +1,91 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!126 &1 |
||||
NavMeshProjectSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 2 |
||||
areas: |
||||
- name: Walkable |
||||
cost: 1 |
||||
- name: Not Walkable |
||||
cost: 1 |
||||
- name: Jump |
||||
cost: 2 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
- name: |
||||
cost: 1 |
||||
m_LastAgentTypeID: -887442657 |
||||
m_Settings: |
||||
- serializedVersion: 2 |
||||
agentTypeID: 0 |
||||
agentRadius: 0.5 |
||||
agentHeight: 2 |
||||
agentSlope: 45 |
||||
agentClimb: 0.75 |
||||
ledgeDropHeight: 0 |
||||
maxJumpAcrossDistance: 0 |
||||
minRegionArea: 2 |
||||
manualCellSize: 0 |
||||
cellSize: 0.16666667 |
||||
manualTileSize: 0 |
||||
tileSize: 256 |
||||
accuratePlacement: 0 |
||||
debug: |
||||
m_Flags: 0 |
||||
m_SettingNames: |
||||
- Humanoid |
@ -0,0 +1,8 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!149 &1 |
||||
NetworkManager: |
||||
m_ObjectHideFlags: 0 |
||||
m_DebugLevel: 0 |
||||
m_Sendrate: 15 |
||||
m_AssetToPrefab: {} |
@ -0,0 +1,55 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!19 &1 |
||||
Physics2DSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 3 |
||||
m_Gravity: {x: 0, y: -9.81} |
||||
m_DefaultMaterial: {fileID: 0} |
||||
m_VelocityIterations: 8 |
||||
m_PositionIterations: 3 |
||||
m_VelocityThreshold: 1 |
||||
m_MaxLinearCorrection: 0.2 |
||||
m_MaxAngularCorrection: 8 |
||||
m_MaxTranslationSpeed: 100 |
||||
m_MaxRotationSpeed: 360 |
||||
m_BaumgarteScale: 0.2 |
||||
m_BaumgarteTimeOfImpactScale: 0.75 |
||||
m_TimeToSleep: 0.5 |
||||
m_LinearSleepTolerance: 0.01 |
||||
m_AngularSleepTolerance: 2 |
||||
m_DefaultContactOffset: 0.01 |
||||
m_JobOptions: |
||||
serializedVersion: 2 |
||||
useMultithreading: 0 |
||||
useConsistencySorting: 0 |
||||
m_InterpolationPosesPerJob: 100 |
||||
m_NewContactsPerJob: 30 |
||||
m_CollideContactsPerJob: 100 |
||||
m_ClearFlagsPerJob: 200 |
||||
m_ClearBodyForcesPerJob: 200 |
||||
m_SyncDiscreteFixturesPerJob: 50 |
||||
m_SyncContinuousFixturesPerJob: 50 |
||||
m_FindNearestContactsPerJob: 100 |
||||
m_UpdateTriggerContactsPerJob: 100 |
||||
m_IslandSolverCostThreshold: 100 |
||||
m_IslandSolverBodyCostScale: 1 |
||||
m_IslandSolverContactCostScale: 10 |
||||
m_IslandSolverJointCostScale: 10 |
||||
m_IslandSolverBodiesPerJob: 50 |
||||
m_IslandSolverContactsPerJob: 50 |
||||
m_AutoSimulation: 1 |
||||
m_QueriesHitTriggers: 1 |
||||
m_QueriesStartInColliders: 1 |
||||
m_CallbacksOnDisable: 1 |
||||
m_AutoSyncTransforms: 1 |
||||
m_AlwaysShowColliders: 0 |
||||
m_ShowColliderSleep: 1 |
||||
m_ShowColliderContacts: 0 |
||||
m_ShowColliderAABB: 0 |
||||
m_ContactArrowScale: 0.2 |
||||
m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} |
||||
m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} |
||||
m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} |
||||
m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} |
||||
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff |
@ -0,0 +1,13 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!1386491679 &1 |
||||
PresetManager: |
||||
m_ObjectHideFlags: 0 |
||||
m_DefaultList: |
||||
- type: |
||||
m_NativeTypeID: 20 |
||||
m_ManagedTypePPtr: {fileID: 0} |
||||
m_ManagedTypeFallback: |
||||
defaultPresets: |
||||
- m_Preset: {fileID: 2655988077585873504, guid: bfcfc320427f8224bbb7a96f3d3aebad, |
||||
type: 2} |
@ -0,0 +1,656 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!129 &1 |
||||
PlayerSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 15 |
||||
productGUID: 2ed9f077cb8c7421b9d7c7fa18f3c25d |
||||
AndroidProfiler: 0 |
||||
AndroidFilterTouchesWhenObscured: 0 |
||||
AndroidEnableSustainedPerformanceMode: 0 |
||||
defaultScreenOrientation: 4 |
||||
targetDevice: 2 |
||||
useOnDemandResources: 0 |
||||
accelerometerFrequency: 60 |
||||
companyName: com.grpc.examples |
||||
productName: HelloworldUnity |
||||
defaultCursor: {fileID: 0} |
||||
cursorHotspot: {x: 0, y: 0} |
||||
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} |
||||
m_ShowUnitySplashScreen: 1 |
||||
m_ShowUnitySplashLogo: 1 |
||||
m_SplashScreenOverlayOpacity: 1 |
||||
m_SplashScreenAnimation: 1 |
||||
m_SplashScreenLogoStyle: 1 |
||||
m_SplashScreenDrawMode: 0 |
||||
m_SplashScreenBackgroundAnimationZoom: 1 |
||||
m_SplashScreenLogoAnimationZoom: 1 |
||||
m_SplashScreenBackgroundLandscapeAspect: 1 |
||||
m_SplashScreenBackgroundPortraitAspect: 1 |
||||
m_SplashScreenBackgroundLandscapeUvs: |
||||
serializedVersion: 2 |
||||
x: 0 |
||||
y: 0 |
||||
width: 1 |
||||
height: 1 |
||||
m_SplashScreenBackgroundPortraitUvs: |
||||
serializedVersion: 2 |
||||
x: 0 |
||||
y: 0 |
||||
width: 1 |
||||
height: 1 |
||||
m_SplashScreenLogos: [] |
||||
m_VirtualRealitySplashScreen: {fileID: 0} |
||||
m_HolographicTrackingLossScreen: {fileID: 0} |
||||
defaultScreenWidth: 1024 |
||||
defaultScreenHeight: 768 |
||||
defaultScreenWidthWeb: 960 |
||||
defaultScreenHeightWeb: 600 |
||||
m_StereoRenderingPath: 0 |
||||
m_ActiveColorSpace: 0 |
||||
m_MTRendering: 1 |
||||
m_StackTraceTypes: 010000000100000001000000010000000100000001000000 |
||||
iosShowActivityIndicatorOnLoading: -1 |
||||
androidShowActivityIndicatorOnLoading: -1 |
||||
iosAppInBackgroundBehavior: 0 |
||||
displayResolutionDialog: 1 |
||||
iosAllowHTTPDownload: 1 |
||||
allowedAutorotateToPortrait: 1 |
||||
allowedAutorotateToPortraitUpsideDown: 1 |
||||
allowedAutorotateToLandscapeRight: 1 |
||||
allowedAutorotateToLandscapeLeft: 1 |
||||
useOSAutorotation: 1 |
||||
use32BitDisplayBuffer: 1 |
||||
preserveFramebufferAlpha: 0 |
||||
disableDepthAndStencilBuffers: 0 |
||||
androidStartInFullscreen: 1 |
||||
androidRenderOutsideSafeArea: 0 |
||||
androidBlitType: 0 |
||||
defaultIsNativeResolution: 1 |
||||
macRetinaSupport: 1 |
||||
runInBackground: 1 |
||||
captureSingleScreen: 0 |
||||
muteOtherAudioSources: 0 |
||||
Prepare IOS For Recording: 0 |
||||
Force IOS Speakers When Recording: 0 |
||||
deferSystemGesturesMode: 0 |
||||
hideHomeButton: 0 |
||||
submitAnalytics: 1 |
||||
usePlayerLog: 1 |
||||
bakeCollisionMeshes: 0 |
||||
forceSingleInstance: 0 |
||||
resizableWindow: 0 |
||||
useMacAppStoreValidation: 0 |
||||
macAppStoreCategory: public.app-category.games |
||||
gpuSkinning: 0 |
||||
graphicsJobs: 0 |
||||
xboxPIXTextureCapture: 0 |
||||
xboxEnableAvatar: 0 |
||||
xboxEnableKinect: 0 |
||||
xboxEnableKinectAutoTracking: 0 |
||||
xboxEnableFitness: 0 |
||||
visibleInBackground: 1 |
||||
allowFullscreenSwitch: 1 |
||||
graphicsJobMode: 0 |
||||
fullscreenMode: 1 |
||||
xboxSpeechDB: 0 |
||||
xboxEnableHeadOrientation: 0 |
||||
xboxEnableGuest: 0 |
||||
xboxEnablePIXSampling: 0 |
||||
metalFramebufferOnly: 0 |
||||
xboxOneResolution: 0 |
||||
xboxOneSResolution: 0 |
||||
xboxOneXResolution: 3 |
||||
xboxOneMonoLoggingLevel: 0 |
||||
xboxOneLoggingLevel: 1 |
||||
xboxOneDisableEsram: 0 |
||||
xboxOnePresentImmediateThreshold: 0 |
||||
switchQueueCommandMemory: 0 |
||||
vulkanEnableSetSRGBWrite: 0 |
||||
m_SupportedAspectRatios: |
||||
4:3: 1 |
||||
5:4: 1 |
||||
16:10: 1 |
||||
16:9: 1 |
||||
Others: 1 |
||||
bundleVersion: 0.1 |
||||
preloadedAssets: [] |
||||
metroInputSource: 0 |
||||
wsaTransparentSwapchain: 0 |
||||
m_HolographicPauseOnTrackingLoss: 1 |
||||
xboxOneDisableKinectGpuReservation: 0 |
||||
xboxOneEnable7thCore: 0 |
||||
isWsaHolographicRemotingEnabled: 0 |
||||
vrSettings: |
||||
cardboard: |
||||
depthFormat: 0 |
||||
enableTransitionView: 0 |
||||
daydream: |
||||
depthFormat: 0 |
||||
useSustainedPerformanceMode: 0 |
||||
enableVideoLayer: 0 |
||||
useProtectedVideoMemory: 0 |
||||
minimumSupportedHeadTracking: 0 |
||||
maximumSupportedHeadTracking: 1 |
||||
hololens: |
||||
depthFormat: 1 |
||||
depthBufferSharingEnabled: 0 |
||||
oculus: |
||||
sharedDepthBuffer: 0 |
||||
dashSupport: 0 |
||||
enable360StereoCapture: 0 |
||||
protectGraphicsMemory: 0 |
||||
enableFrameTimingStats: 0 |
||||
useHDRDisplay: 0 |
||||
m_ColorGamuts: 00000000 |
||||
targetPixelDensity: 30 |
||||
resolutionScalingMode: 0 |
||||
androidSupportedAspectRatio: 1 |
||||
androidMaxAspectRatio: 2.1 |
||||
applicationIdentifier: |
||||
Android: com.grpc.examples |
||||
Standalone: com.Company.ProductName |
||||
iOS: com.jattermusch.grpc.example |
||||
buildNumber: {} |
||||
AndroidBundleVersionCode: 1 |
||||
AndroidMinSdkVersion: 16 |
||||
AndroidTargetSdkVersion: 0 |
||||
AndroidPreferredInstallLocation: 1 |
||||
aotOptions: |
||||
stripEngineCode: 1 |
||||
iPhoneStrippingLevel: 0 |
||||
iPhoneScriptCallOptimization: 0 |
||||
ForceInternetPermission: 0 |
||||
ForceSDCardPermission: 0 |
||||
CreateWallpaper: 0 |
||||
APKExpansionFiles: 0 |
||||
keepLoadedShadersAlive: 0 |
||||
StripUnusedMeshComponents: 1 |
||||
VertexChannelCompressionMask: 4054 |
||||
iPhoneSdkVersion: 989 |
||||
iOSTargetOSVersionString: 9.0 |
||||
tvOSSdkVersion: 0 |
||||
tvOSRequireExtendedGameController: 0 |
||||
tvOSTargetOSVersionString: 9.0 |
||||
uIPrerenderedIcon: 0 |
||||
uIRequiresPersistentWiFi: 0 |
||||
uIRequiresFullScreen: 1 |
||||
uIStatusBarHidden: 1 |
||||
uIExitOnSuspend: 0 |
||||
uIStatusBarStyle: 0 |
||||
iPhoneSplashScreen: {fileID: 0} |
||||
iPhoneHighResSplashScreen: {fileID: 0} |
||||
iPhoneTallHighResSplashScreen: {fileID: 0} |
||||
iPhone47inSplashScreen: {fileID: 0} |
||||
iPhone55inPortraitSplashScreen: {fileID: 0} |
||||
iPhone55inLandscapeSplashScreen: {fileID: 0} |
||||
iPhone58inPortraitSplashScreen: {fileID: 0} |
||||
iPhone58inLandscapeSplashScreen: {fileID: 0} |
||||
iPadPortraitSplashScreen: {fileID: 0} |
||||
iPadHighResPortraitSplashScreen: {fileID: 0} |
||||
iPadLandscapeSplashScreen: {fileID: 0} |
||||
iPadHighResLandscapeSplashScreen: {fileID: 0} |
||||
appleTVSplashScreen: {fileID: 0} |
||||
appleTVSplashScreen2x: {fileID: 0} |
||||
tvOSSmallIconLayers: [] |
||||
tvOSSmallIconLayers2x: [] |
||||
tvOSLargeIconLayers: [] |
||||
tvOSLargeIconLayers2x: [] |
||||
tvOSTopShelfImageLayers: [] |
||||
tvOSTopShelfImageLayers2x: [] |
||||
tvOSTopShelfImageWideLayers: [] |
||||
tvOSTopShelfImageWideLayers2x: [] |
||||
iOSLaunchScreenType: 0 |
||||
iOSLaunchScreenPortrait: {fileID: 0} |
||||
iOSLaunchScreenLandscape: {fileID: 0} |
||||
iOSLaunchScreenBackgroundColor: |
||||
serializedVersion: 2 |
||||
rgba: 0 |
||||
iOSLaunchScreenFillPct: 100 |
||||
iOSLaunchScreenSize: 100 |
||||
iOSLaunchScreenCustomXibPath: |
||||
iOSLaunchScreeniPadType: 0 |
||||
iOSLaunchScreeniPadImage: {fileID: 0} |
||||
iOSLaunchScreeniPadBackgroundColor: |
||||
serializedVersion: 2 |
||||
rgba: 0 |
||||
iOSLaunchScreeniPadFillPct: 100 |
||||
iOSLaunchScreeniPadSize: 100 |
||||
iOSLaunchScreeniPadCustomXibPath: |
||||
iOSUseLaunchScreenStoryboard: 0 |
||||
iOSLaunchScreenCustomStoryboardPath: |
||||
iOSDeviceRequirements: [] |
||||
iOSURLSchemes: [] |
||||
iOSBackgroundModes: 0 |
||||
iOSMetalForceHardShadows: 0 |
||||
metalEditorSupport: 1 |
||||
metalAPIValidation: 1 |
||||
iOSRenderExtraFrameOnPause: 0 |
||||
appleDeveloperTeamID: |
||||
iOSManualSigningProvisioningProfileID: |
||||
tvOSManualSigningProvisioningProfileID: |
||||
iOSManualSigningProvisioningProfileType: 0 |
||||
tvOSManualSigningProvisioningProfileType: 0 |
||||
appleEnableAutomaticSigning: 0 |
||||
iOSRequireARKit: 0 |
||||
appleEnableProMotion: 0 |
||||
clonedFromGUID: 5f34be1353de5cf4398729fda238591b |
||||
templatePackageId: com.unity.template.2d@1.0.1 |
||||
templateDefaultScene: Assets/Scenes/SampleScene.unity |
||||
AndroidTargetArchitectures: 5 |
||||
AndroidSplashScreenScale: 0 |
||||
androidSplashScreen: {fileID: 0} |
||||
AndroidKeystoreName: |
||||
AndroidKeyaliasName: |
||||
AndroidBuildApkPerCpuArchitecture: 0 |
||||
AndroidTVCompatibility: 1 |
||||
AndroidIsGame: 1 |
||||
AndroidEnableTango: 0 |
||||
androidEnableBanner: 1 |
||||
androidUseLowAccuracyLocation: 0 |
||||
m_AndroidBanners: |
||||
- width: 320 |
||||
height: 180 |
||||
banner: {fileID: 0} |
||||
androidGamepadSupportLevel: 0 |
||||
resolutionDialogBanner: {fileID: 0} |
||||
m_BuildTargetIcons: [] |
||||
m_BuildTargetPlatformIcons: |
||||
- m_BuildTarget: Android |
||||
m_Icons: |
||||
- m_Textures: [] |
||||
m_Width: 432 |
||||
m_Height: 432 |
||||
m_Kind: 2 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 324 |
||||
m_Height: 324 |
||||
m_Kind: 2 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 216 |
||||
m_Height: 216 |
||||
m_Kind: 2 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 162 |
||||
m_Height: 162 |
||||
m_Kind: 2 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 108 |
||||
m_Height: 108 |
||||
m_Kind: 2 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 81 |
||||
m_Height: 81 |
||||
m_Kind: 2 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 192 |
||||
m_Height: 192 |
||||
m_Kind: 1 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 144 |
||||
m_Height: 144 |
||||
m_Kind: 1 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 96 |
||||
m_Height: 96 |
||||
m_Kind: 1 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 72 |
||||
m_Height: 72 |
||||
m_Kind: 1 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 48 |
||||
m_Height: 48 |
||||
m_Kind: 1 |
||||
m_SubKind: |
||||
- m_Textures: [] |
||||
m_Width: 36 |
||||
m_Height: 36 |
||||
m_Kind: 1 |
||||
m_SubKind: |
||||
m_BuildTargetBatching: [] |
||||
m_BuildTargetGraphicsAPIs: [] |
||||
m_BuildTargetVRSettings: [] |
||||
m_BuildTargetEnableVuforiaSettings: [] |
||||
openGLRequireES31: 0 |
||||
openGLRequireES31AEP: 0 |
||||
m_TemplateCustomTags: {} |
||||
mobileMTRendering: |
||||
Android: 1 |
||||
iPhone: 1 |
||||
tvOS: 1 |
||||
m_BuildTargetGroupLightmapEncodingQuality: [] |
||||
m_BuildTargetGroupLightmapSettings: [] |
||||
playModeTestRunnerEnabled: 0 |
||||
runPlayModeTestAsEditModeTest: 0 |
||||
actionOnDotNetUnhandledException: 1 |
||||
enableInternalProfiler: 0 |
||||
logObjCUncaughtExceptions: 1 |
||||
enableCrashReportAPI: 0 |
||||
cameraUsageDescription: |
||||
locationUsageDescription: |
||||
microphoneUsageDescription: |
||||
switchNetLibKey: |
||||
switchSocketMemoryPoolSize: 6144 |
||||
switchSocketAllocatorPoolSize: 128 |
||||
switchSocketConcurrencyLimit: 14 |
||||
switchScreenResolutionBehavior: 2 |
||||
switchUseCPUProfiler: 0 |
||||
switchApplicationID: 0x01004b9000490000 |
||||
switchNSODependencies: |
||||
switchTitleNames_0: |
||||
switchTitleNames_1: |
||||
switchTitleNames_2: |
||||
switchTitleNames_3: |
||||
switchTitleNames_4: |
||||
switchTitleNames_5: |
||||
switchTitleNames_6: |
||||
switchTitleNames_7: |
||||
switchTitleNames_8: |
||||
switchTitleNames_9: |
||||
switchTitleNames_10: |
||||
switchTitleNames_11: |
||||
switchTitleNames_12: |
||||
switchTitleNames_13: |
||||
switchTitleNames_14: |
||||
switchPublisherNames_0: |
||||
switchPublisherNames_1: |
||||
switchPublisherNames_2: |
||||
switchPublisherNames_3: |
||||
switchPublisherNames_4: |
||||
switchPublisherNames_5: |
||||
switchPublisherNames_6: |
||||
switchPublisherNames_7: |
||||
switchPublisherNames_8: |
||||
switchPublisherNames_9: |
||||
switchPublisherNames_10: |
||||
switchPublisherNames_11: |
||||
switchPublisherNames_12: |
||||
switchPublisherNames_13: |
||||
switchPublisherNames_14: |
||||
switchIcons_0: {fileID: 0} |
||||
switchIcons_1: {fileID: 0} |
||||
switchIcons_2: {fileID: 0} |
||||
switchIcons_3: {fileID: 0} |
||||
switchIcons_4: {fileID: 0} |
||||
switchIcons_5: {fileID: 0} |
||||
switchIcons_6: {fileID: 0} |
||||
switchIcons_7: {fileID: 0} |
||||
switchIcons_8: {fileID: 0} |
||||
switchIcons_9: {fileID: 0} |
||||
switchIcons_10: {fileID: 0} |
||||
switchIcons_11: {fileID: 0} |
||||
switchIcons_12: {fileID: 0} |
||||
switchIcons_13: {fileID: 0} |
||||
switchIcons_14: {fileID: 0} |
||||
switchSmallIcons_0: {fileID: 0} |
||||
switchSmallIcons_1: {fileID: 0} |
||||
switchSmallIcons_2: {fileID: 0} |
||||
switchSmallIcons_3: {fileID: 0} |
||||
switchSmallIcons_4: {fileID: 0} |
||||
switchSmallIcons_5: {fileID: 0} |
||||
switchSmallIcons_6: {fileID: 0} |
||||
switchSmallIcons_7: {fileID: 0} |
||||
switchSmallIcons_8: {fileID: 0} |
||||
switchSmallIcons_9: {fileID: 0} |
||||
switchSmallIcons_10: {fileID: 0} |
||||
switchSmallIcons_11: {fileID: 0} |
||||
switchSmallIcons_12: {fileID: 0} |
||||
switchSmallIcons_13: {fileID: 0} |
||||
switchSmallIcons_14: {fileID: 0} |
||||
switchManualHTML: |
||||
switchAccessibleURLs: |
||||
switchLegalInformation: |
||||
switchMainThreadStackSize: 1048576 |
||||
switchPresenceGroupId: |
||||
switchLogoHandling: 0 |
||||
switchReleaseVersion: 0 |
||||
switchDisplayVersion: 1.0.0 |
||||
switchStartupUserAccount: 0 |
||||
switchTouchScreenUsage: 0 |
||||
switchSupportedLanguagesMask: 0 |
||||
switchLogoType: 0 |
||||
switchApplicationErrorCodeCategory: |
||||
switchUserAccountSaveDataSize: 0 |
||||
switchUserAccountSaveDataJournalSize: 0 |
||||
switchApplicationAttribute: 0 |
||||
switchCardSpecSize: -1 |
||||
switchCardSpecClock: -1 |
||||
switchRatingsMask: 0 |
||||
switchRatingsInt_0: 0 |
||||
switchRatingsInt_1: 0 |
||||
switchRatingsInt_2: 0 |
||||
switchRatingsInt_3: 0 |
||||
switchRatingsInt_4: 0 |
||||
switchRatingsInt_5: 0 |
||||
switchRatingsInt_6: 0 |
||||
switchRatingsInt_7: 0 |
||||
switchRatingsInt_8: 0 |
||||
switchRatingsInt_9: 0 |
||||
switchRatingsInt_10: 0 |
||||
switchRatingsInt_11: 0 |
||||
switchLocalCommunicationIds_0: |
||||
switchLocalCommunicationIds_1: |
||||
switchLocalCommunicationIds_2: |
||||
switchLocalCommunicationIds_3: |
||||
switchLocalCommunicationIds_4: |
||||
switchLocalCommunicationIds_5: |
||||
switchLocalCommunicationIds_6: |
||||
switchLocalCommunicationIds_7: |
||||
switchParentalControl: 0 |
||||
switchAllowsScreenshot: 1 |
||||
switchAllowsVideoCapturing: 1 |
||||
switchAllowsRuntimeAddOnContentInstall: 0 |
||||
switchDataLossConfirmation: 0 |
||||
switchUserAccountLockEnabled: 0 |
||||
switchSupportedNpadStyles: 3 |
||||
switchNativeFsCacheSize: 32 |
||||
switchIsHoldTypeHorizontal: 0 |
||||
switchSupportedNpadCount: 8 |
||||
switchSocketConfigEnabled: 0 |
||||
switchTcpInitialSendBufferSize: 32 |
||||
switchTcpInitialReceiveBufferSize: 64 |
||||
switchTcpAutoSendBufferSizeMax: 256 |
||||
switchTcpAutoReceiveBufferSizeMax: 256 |
||||
switchUdpSendBufferSize: 9 |
||||
switchUdpReceiveBufferSize: 42 |
||||
switchSocketBufferEfficiency: 4 |
||||
switchSocketInitializeEnabled: 1 |
||||
switchNetworkInterfaceManagerInitializeEnabled: 1 |
||||
switchPlayerConnectionEnabled: 1 |
||||
ps4NPAgeRating: 12 |
||||
ps4NPTitleSecret: |
||||
ps4NPTrophyPackPath: |
||||
ps4ParentalLevel: 11 |
||||
ps4ContentID: ED1633-NPXX51362_00-0000000000000000 |
||||
ps4Category: 0 |
||||
ps4MasterVersion: 01.00 |
||||
ps4AppVersion: 01.00 |
||||
ps4AppType: 0 |
||||
ps4ParamSfxPath: |
||||
ps4VideoOutPixelFormat: 0 |
||||
ps4VideoOutInitialWidth: 1920 |
||||
ps4VideoOutBaseModeInitialWidth: 1920 |
||||
ps4VideoOutReprojectionRate: 60 |
||||
ps4PronunciationXMLPath: |
||||
ps4PronunciationSIGPath: |
||||
ps4BackgroundImagePath: |
||||
ps4StartupImagePath: |
||||
ps4StartupImagesFolder: |
||||
ps4IconImagesFolder: |
||||
ps4SaveDataImagePath: |
||||
ps4SdkOverride: |
||||
ps4BGMPath: |
||||
ps4ShareFilePath: |
||||
ps4ShareOverlayImagePath: |
||||
ps4PrivacyGuardImagePath: |
||||
ps4NPtitleDatPath: |
||||
ps4RemotePlayKeyAssignment: -1 |
||||
ps4RemotePlayKeyMappingDir: |
||||
ps4PlayTogetherPlayerCount: 0 |
||||
ps4EnterButtonAssignment: 1 |
||||
ps4ApplicationParam1: 0 |
||||
ps4ApplicationParam2: 0 |
||||
ps4ApplicationParam3: 0 |
||||
ps4ApplicationParam4: 0 |
||||
ps4DownloadDataSize: 0 |
||||
ps4GarlicHeapSize: 2048 |
||||
ps4ProGarlicHeapSize: 2560 |
||||
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ |
||||
ps4pnSessions: 1 |
||||
ps4pnPresence: 1 |
||||
ps4pnFriends: 1 |
||||
ps4pnGameCustomData: 1 |
||||
playerPrefsSupport: 0 |
||||
enableApplicationExit: 0 |
||||
resetTempFolder: 1 |
||||
restrictedAudioUsageRights: 0 |
||||
ps4UseResolutionFallback: 0 |
||||
ps4ReprojectionSupport: 0 |
||||
ps4UseAudio3dBackend: 0 |
||||
ps4SocialScreenEnabled: 0 |
||||
ps4ScriptOptimizationLevel: 0 |
||||
ps4Audio3dVirtualSpeakerCount: 14 |
||||
ps4attribCpuUsage: 0 |
||||
ps4PatchPkgPath: |
||||
ps4PatchLatestPkgPath: |
||||
ps4PatchChangeinfoPath: |
||||
ps4PatchDayOne: 0 |
||||
ps4attribUserManagement: 0 |
||||
ps4attribMoveSupport: 0 |
||||
ps4attrib3DSupport: 0 |
||||
ps4attribShareSupport: 0 |
||||
ps4attribExclusiveVR: 0 |
||||
ps4disableAutoHideSplash: 0 |
||||
ps4videoRecordingFeaturesUsed: 0 |
||||
ps4contentSearchFeaturesUsed: 0 |
||||
ps4attribEyeToEyeDistanceSettingVR: 0 |
||||
ps4IncludedModules: [] |
||||
monoEnv: |
||||
splashScreenBackgroundSourceLandscape: {fileID: 0} |
||||
splashScreenBackgroundSourcePortrait: {fileID: 0} |
||||
spritePackerPolicy: |
||||
webGLMemorySize: 256 |
||||
webGLExceptionSupport: 1 |
||||
webGLNameFilesAsHashes: 0 |
||||
webGLDataCaching: 1 |
||||
webGLDebugSymbols: 0 |
||||
webGLEmscriptenArgs: |
||||
webGLModulesDirectory: |
||||
webGLTemplate: APPLICATION:Default |
||||
webGLAnalyzeBuildSize: 0 |
||||
webGLUseEmbeddedResources: 0 |
||||
webGLCompressionFormat: 1 |
||||
webGLLinkerTarget: 1 |
||||
webGLThreadsSupport: 0 |
||||
scriptingDefineSymbols: {} |
||||
platformArchitecture: {} |
||||
scriptingBackend: |
||||
Android: 1 |
||||
il2cppCompilerConfiguration: {} |
||||
managedStrippingLevel: {} |
||||
incrementalIl2cppBuild: {} |
||||
allowUnsafeCode: 0 |
||||
additionalIl2CppArgs: |
||||
scriptingRuntimeVersion: 1 |
||||
apiCompatibilityLevelPerPlatform: |
||||
Android: 3 |
||||
m_RenderingPath: 1 |
||||
m_MobileRenderingPath: 1 |
||||
metroPackageName: Template_2D |
||||
metroPackageVersion: |
||||
metroCertificatePath: |
||||
metroCertificatePassword: |
||||
metroCertificateSubject: |
||||
metroCertificateIssuer: |
||||
metroCertificateNotAfter: 0000000000000000 |
||||
metroApplicationDescription: Template_2D |
||||
wsaImages: {} |
||||
metroTileShortName: |
||||
metroTileShowName: 0 |
||||
metroMediumTileShowName: 0 |
||||
metroLargeTileShowName: 0 |
||||
metroWideTileShowName: 0 |
||||
metroSupportStreamingInstall: 0 |
||||
metroLastRequiredScene: 0 |
||||
metroDefaultTileSize: 1 |
||||
metroTileForegroundText: 2 |
||||
metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} |
||||
metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, |
||||
a: 1} |
||||
metroSplashScreenUseBackgroundColor: 0 |
||||
platformCapabilities: {} |
||||
metroTargetDeviceFamilies: {} |
||||
metroFTAName: |
||||
metroFTAFileTypes: [] |
||||
metroProtocolName: |
||||
metroCompilationOverrides: 1 |
||||
XboxOneProductId: |
||||
XboxOneUpdateKey: |
||||
XboxOneSandboxId: |
||||
XboxOneContentId: |
||||
XboxOneTitleId: |
||||
XboxOneSCId: |
||||
XboxOneGameOsOverridePath: |
||||
XboxOnePackagingOverridePath: |
||||
XboxOneAppManifestOverridePath: |
||||
XboxOneVersion: 1.0.0.0 |
||||
XboxOnePackageEncryption: 0 |
||||
XboxOnePackageUpdateGranularity: 2 |
||||
XboxOneDescription: |
||||
XboxOneLanguage: |
||||
- enus |
||||
XboxOneCapability: [] |
||||
XboxOneGameRating: {} |
||||
XboxOneIsContentPackage: 0 |
||||
XboxOneEnableGPUVariability: 0 |
||||
XboxOneSockets: {} |
||||
XboxOneSplashScreen: {fileID: 0} |
||||
XboxOneAllowedProductIds: [] |
||||
XboxOnePersistentLocalStorageSize: 0 |
||||
XboxOneXTitleMemory: 8 |
||||
xboxOneScriptCompiler: 0 |
||||
XboxOneOverrideIdentityName: |
||||
vrEditorSettings: |
||||
daydream: |
||||
daydreamIconForeground: {fileID: 0} |
||||
daydreamIconBackground: {fileID: 0} |
||||
cloudServicesEnabled: |
||||
UNet: 1 |
||||
luminIcon: |
||||
m_Name: |
||||
m_ModelFolderPath: |
||||
m_PortalFolderPath: |
||||
luminCert: |
||||
m_CertPath: |
||||
m_PrivateKeyPath: |
||||
luminIsChannelApp: 0 |
||||
luminVersion: |
||||
m_VersionCode: 1 |
||||
m_VersionName: |
||||
facebookSdkVersion: 7.9.4 |
||||
facebookAppId: |
||||
facebookCookies: 1 |
||||
facebookLogging: 1 |
||||
facebookStatus: 1 |
||||
facebookXfbml: 0 |
||||
facebookFrictionlessRequests: 1 |
||||
apiCompatibilityLevel: 3 |
||||
cloudProjectId: |
||||
framebufferDepthMemorylessMode: 0 |
||||
projectName: |
||||
organizationId: |
||||
cloudEnabled: 0 |
||||
enableNativePlatformBackendsForNewInputSystem: 0 |
||||
disableOldInputManagerSupport: 0 |
||||
legacyClampBlendShapeWeights: 1 |
@ -0,0 +1 @@ |
||||
m_EditorVersion: 2018.3.5f1 |
@ -0,0 +1,191 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!47 &1 |
||||
QualitySettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 5 |
||||
m_CurrentQuality: 3 |
||||
m_QualitySettings: |
||||
- serializedVersion: 2 |
||||
name: Very Low |
||||
pixelLightCount: 0 |
||||
shadows: 0 |
||||
shadowResolution: 0 |
||||
shadowProjection: 1 |
||||
shadowCascades: 1 |
||||
shadowDistance: 15 |
||||
shadowNearPlaneOffset: 3 |
||||
shadowCascade2Split: 0.33333334 |
||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} |
||||
shadowmaskMode: 0 |
||||
blendWeights: 1 |
||||
textureQuality: 1 |
||||
anisotropicTextures: 0 |
||||
antiAliasing: 0 |
||||
softParticles: 0 |
||||
softVegetation: 0 |
||||
realtimeReflectionProbes: 0 |
||||
billboardsFaceCameraPosition: 0 |
||||
vSyncCount: 0 |
||||
lodBias: 0.3 |
||||
maximumLODLevel: 0 |
||||
particleRaycastBudget: 4 |
||||
asyncUploadTimeSlice: 2 |
||||
asyncUploadBufferSize: 4 |
||||
resolutionScalingFixedDPIFactor: 1 |
||||
excludedTargetPlatforms: [] |
||||
- serializedVersion: 2 |
||||
name: Low |
||||
pixelLightCount: 0 |
||||
shadows: 0 |
||||
shadowResolution: 0 |
||||
shadowProjection: 1 |
||||
shadowCascades: 1 |
||||
shadowDistance: 20 |
||||
shadowNearPlaneOffset: 3 |
||||
shadowCascade2Split: 0.33333334 |
||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} |
||||
shadowmaskMode: 0 |
||||
blendWeights: 2 |
||||
textureQuality: 0 |
||||
anisotropicTextures: 0 |
||||
antiAliasing: 0 |
||||
softParticles: 0 |
||||
softVegetation: 0 |
||||
realtimeReflectionProbes: 0 |
||||
billboardsFaceCameraPosition: 0 |
||||
vSyncCount: 0 |
||||
lodBias: 0.4 |
||||
maximumLODLevel: 0 |
||||
particleRaycastBudget: 16 |
||||
asyncUploadTimeSlice: 2 |
||||
asyncUploadBufferSize: 4 |
||||
resolutionScalingFixedDPIFactor: 1 |
||||
excludedTargetPlatforms: [] |
||||
- serializedVersion: 2 |
||||
name: Medium |
||||
pixelLightCount: 1 |
||||
shadows: 0 |
||||
shadowResolution: 0 |
||||
shadowProjection: 1 |
||||
shadowCascades: 1 |
||||
shadowDistance: 20 |
||||
shadowNearPlaneOffset: 3 |
||||
shadowCascade2Split: 0.33333334 |
||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} |
||||
shadowmaskMode: 0 |
||||
blendWeights: 2 |
||||
textureQuality: 0 |
||||
anisotropicTextures: 0 |
||||
antiAliasing: 0 |
||||
softParticles: 0 |
||||
softVegetation: 0 |
||||
realtimeReflectionProbes: 0 |
||||
billboardsFaceCameraPosition: 0 |
||||
vSyncCount: 1 |
||||
lodBias: 0.7 |
||||
maximumLODLevel: 0 |
||||
particleRaycastBudget: 64 |
||||
asyncUploadTimeSlice: 2 |
||||
asyncUploadBufferSize: 4 |
||||
resolutionScalingFixedDPIFactor: 1 |
||||
excludedTargetPlatforms: [] |
||||
- serializedVersion: 2 |
||||
name: High |
||||
pixelLightCount: 2 |
||||
shadows: 0 |
||||
shadowResolution: 1 |
||||
shadowProjection: 1 |
||||
shadowCascades: 2 |
||||
shadowDistance: 40 |
||||
shadowNearPlaneOffset: 3 |
||||
shadowCascade2Split: 0.33333334 |
||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} |
||||
shadowmaskMode: 1 |
||||
blendWeights: 2 |
||||
textureQuality: 0 |
||||
anisotropicTextures: 0 |
||||
antiAliasing: 0 |
||||
softParticles: 0 |
||||
softVegetation: 1 |
||||
realtimeReflectionProbes: 0 |
||||
billboardsFaceCameraPosition: 0 |
||||
vSyncCount: 1 |
||||
lodBias: 1 |
||||
maximumLODLevel: 0 |
||||
particleRaycastBudget: 256 |
||||
asyncUploadTimeSlice: 2 |
||||
asyncUploadBufferSize: 4 |
||||
resolutionScalingFixedDPIFactor: 1 |
||||
excludedTargetPlatforms: [] |
||||
- serializedVersion: 2 |
||||
name: Very High |
||||
pixelLightCount: 3 |
||||
shadows: 0 |
||||
shadowResolution: 2 |
||||
shadowProjection: 1 |
||||
shadowCascades: 2 |
||||
shadowDistance: 70 |
||||
shadowNearPlaneOffset: 3 |
||||
shadowCascade2Split: 0.33333334 |
||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} |
||||
shadowmaskMode: 1 |
||||
blendWeights: 4 |
||||
textureQuality: 0 |
||||
anisotropicTextures: 0 |
||||
antiAliasing: 0 |
||||
softParticles: 0 |
||||
softVegetation: 1 |
||||
realtimeReflectionProbes: 0 |
||||
billboardsFaceCameraPosition: 0 |
||||
vSyncCount: 1 |
||||
lodBias: 1.5 |
||||
maximumLODLevel: 0 |
||||
particleRaycastBudget: 1024 |
||||
asyncUploadTimeSlice: 2 |
||||
asyncUploadBufferSize: 4 |
||||
resolutionScalingFixedDPIFactor: 1 |
||||
excludedTargetPlatforms: [] |
||||
- serializedVersion: 2 |
||||
name: Ultra |
||||
pixelLightCount: 4 |
||||
shadows: 0 |
||||
shadowResolution: 0 |
||||
shadowProjection: 1 |
||||
shadowCascades: 4 |
||||
shadowDistance: 150 |
||||
shadowNearPlaneOffset: 3 |
||||
shadowCascade2Split: 0.33333334 |
||||
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} |
||||
shadowmaskMode: 1 |
||||
blendWeights: 4 |
||||
textureQuality: 0 |
||||
anisotropicTextures: 0 |
||||
antiAliasing: 0 |
||||
softParticles: 0 |
||||
softVegetation: 1 |
||||
realtimeReflectionProbes: 0 |
||||
billboardsFaceCameraPosition: 0 |
||||
vSyncCount: 1 |
||||
lodBias: 2 |
||||
maximumLODLevel: 0 |
||||
particleRaycastBudget: 4096 |
||||
asyncUploadTimeSlice: 2 |
||||
asyncUploadBufferSize: 4 |
||||
resolutionScalingFixedDPIFactor: 1 |
||||
excludedTargetPlatforms: [] |
||||
m_PerPlatformDefaultQuality: |
||||
Android: 2 |
||||
Nintendo 3DS: 5 |
||||
Nintendo Switch: 5 |
||||
PS4: 5 |
||||
PSM: 5 |
||||
PSP2: 2 |
||||
Standalone: 5 |
||||
Tizen: 2 |
||||
WebGL: 3 |
||||
WiiU: 5 |
||||
Windows Store Apps: 5 |
||||
XboxOne: 5 |
||||
iPhone: 2 |
||||
tvOS: 2 |
@ -0,0 +1,43 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!78 &1 |
||||
TagManager: |
||||
serializedVersion: 2 |
||||
tags: [] |
||||
layers: |
||||
- Default |
||||
- TransparentFX |
||||
- Ignore Raycast |
||||
- |
||||
- Water |
||||
- UI |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
- |
||||
m_SortingLayers: |
||||
- name: Default |
||||
uniqueID: 0 |
||||
locked: 0 |
@ -0,0 +1,9 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!5 &1 |
||||
TimeManager: |
||||
m_ObjectHideFlags: 0 |
||||
Fixed Timestep: 0.02 |
||||
Maximum Allowed Timestep: 0.1 |
||||
m_TimeScale: 1 |
||||
Maximum Particle Timestep: 0.03 |
@ -0,0 +1,34 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!310 &1 |
||||
UnityConnectSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 1 |
||||
m_Enabled: 1 |
||||
m_TestMode: 0 |
||||
m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events |
||||
m_EventUrl: https://cdp.cloud.unity3d.com/v1/events |
||||
m_ConfigUrl: https://config.uca.cloud.unity3d.com |
||||
m_TestInitMode: 0 |
||||
CrashReportingSettings: |
||||
m_EventUrl: https://perf-events.cloud.unity3d.com |
||||
m_Enabled: 0 |
||||
m_LogBufferSize: 10 |
||||
m_CaptureEditorExceptions: 1 |
||||
UnityPurchasingSettings: |
||||
m_Enabled: 0 |
||||
m_TestMode: 0 |
||||
UnityAnalyticsSettings: |
||||
m_Enabled: 1 |
||||
m_TestMode: 0 |
||||
m_InitializeOnStartup: 1 |
||||
UnityAdsSettings: |
||||
m_Enabled: 0 |
||||
m_InitializeOnStartup: 1 |
||||
m_TestMode: 0 |
||||
m_IosGameId: |
||||
m_AndroidGameId: |
||||
m_GameIds: {} |
||||
m_GameId: |
||||
PerformanceReportingSettings: |
||||
m_Enabled: 0 |
@ -0,0 +1,11 @@ |
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!937362698 &1 |
||||
VFXManager: |
||||
m_ObjectHideFlags: 0 |
||||
m_IndirectShader: {fileID: 0} |
||||
m_CopyBufferShader: {fileID: 0} |
||||
m_SortShader: {fileID: 0} |
||||
m_RenderPipeSettingsPath: |
||||
m_FixedTimeStep: 0.016666668 |
||||
m_MaxDeltaTime: 0.05 |
@ -0,0 +1,19 @@ |
||||
gRPC C# on Unity |
||||
======================== |
||||
|
||||
EXPERIMENTAL ONLY |
||||
------------- |
||||
Support of the Unity platform is currently experimental. |
||||
|
||||
PREREQUISITES |
||||
------------- |
||||
|
||||
- Unity 2018.3.5f1 |
||||
|
||||
BUILD |
||||
------- |
||||
|
||||
- Follow instructions in https://github.com/grpc/grpc/tree/master/src/csharp/experimental#unity to obtain the grpc_csharp_unity.zip |
||||
that contains gRPC C# for Unity. Unzip it under `Assets/Plugins` directory. |
||||
- Open the `HelloworldUnity.sln` in Unity Editor. |
||||
- Build using Unity Editor. |
@ -0,0 +1,56 @@ |
||||
# Copyright 2019 The gRPC Authors |
||||
# |
||||
# Licensed under the Apache License, Version 2.0 (the "License"); |
||||
# you may not use this file except in compliance with the License. |
||||
# You may obtain a copy of the License at |
||||
# |
||||
# http://www.apache.org/licenses/LICENSE-2.0 |
||||
# |
||||
# Unless required by applicable law or agreed to in writing, software |
||||
# distributed under the License is distributed on an "AS IS" BASIS, |
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
# See the License for the specific language governing permissions and |
||||
# limitations under the License. |
||||
|
||||
load("@grpc_python_dependencies//:requirements.bzl", "requirement") |
||||
|
||||
py_library( |
||||
name = "client", |
||||
testonly = 1, |
||||
srcs = ["client.py"], |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
"//src/python/grpcio_status/grpc_status:grpc_status", |
||||
"//examples:py_helloworld", |
||||
requirement('googleapis-common-protos'), |
||||
], |
||||
) |
||||
|
||||
py_library( |
||||
name = "server", |
||||
testonly = 1, |
||||
srcs = ["server.py"], |
||||
deps = [ |
||||
"//src/python/grpcio/grpc:grpcio", |
||||
"//src/python/grpcio_status/grpc_status:grpc_status", |
||||
"//examples:py_helloworld", |
||||
] + select({ |
||||
"//conditions:default": [requirement("futures")], |
||||
"//:python3": [], |
||||
}), |
||||
) |
||||
|
||||
py_test( |
||||
name = "test/_error_handling_example_test", |
||||
srcs = ["test/_error_handling_example_test.py"], |
||||
deps = [ |
||||
":client", |
||||
":server", |
||||
"//src/python/grpcio_tests/tests:bazel_namespace_package_hack", |
||||
], |
||||
size = "small", |
||||
imports = [ |
||||
"../../../src/python/grpcio_status", |
||||
"../../../src/python/grpcio_tests", |
||||
], |
||||
) |
@ -0,0 +1,107 @@ |
||||
# gRPC Python Error Handling Example |
||||
|
||||
The goal of this example is sending error status from server that is more complicated than a code and detail string. |
||||
|
||||
The definition for an RPC method in proto files contains request message and response message. There are many error states that can be shared across RPC methods (e.g. stack trace, insufficient quota). Using a different path to handle error will make the code more maintainable. |
||||
|
||||
Ideally, the final status of an RPC should be described in the trailing headers of HTTP2, and gRPC Python provides helper functions in `grpcio-status` package to assist the packing and unpacking of error status. |
||||
|
||||
|
||||
### Requirement |
||||
``` |
||||
grpcio>=1.18.0 |
||||
grpcio-status>=1.18.0 |
||||
googleapis-common-protos>=1.5.5 |
||||
``` |
||||
|
||||
|
||||
### Error Detail Proto |
||||
|
||||
You may provide any custom proto message as error detail in your implementation. Here are protos are defined by Google Cloud Library Team: |
||||
|
||||
* [code.proto]([https://github.com/googleapis/api-common-protos/blob/master/google/rpc/code.proto](https://github.com/googleapis/api-common-protos/blob/87185dfffad4afa5a33a8c153f0e1ea53b4f85dc/google/rpc/code.proto)) contains definition of RPC error codes. |
||||
* [error_details.proto]([https://github.com/googleapis/api-common-protos/blob/master/google/rpc/error_details.proto](https://github.com/googleapis/api-common-protos/blob/87185dfffad4afa5a33a8c153f0e1ea53b4f85dc/google/rpc/error_details.proto)) contains definitions of common error details. |
||||
|
||||
|
||||
### Definition of Status Proto |
||||
|
||||
Here is the definition of Status proto. For full text, please see [status.proto](https://github.com/googleapis/api-common-protos/blob/87185dfffad4afa5a33a8c153f0e1ea53b4f85dc/google/rpc/status.proto). |
||||
|
||||
```proto |
||||
// The `Status` type defines a logical error model that is suitable for different |
||||
// programming environments, including REST APIs and RPC APIs. It is used by |
||||
// [gRPC](https://github.com/grpc). The error model is designed to be: |
||||
// |
||||
// - Simple to use and understand for most users |
||||
// - Flexible enough to meet unexpected needs |
||||
// |
||||
// # Overview |
||||
// |
||||
// The `Status` message contains three pieces of data: error code, error message, |
||||
// and error details. The error code should be an enum value of |
||||
// [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The |
||||
// error message should be a developer-facing English message that helps |
||||
// developers *understand* and *resolve* the error. If a localized user-facing |
||||
// error message is needed, put the localized message in the error details or |
||||
// localize it in the client. The optional error details may contain arbitrary |
||||
// information about the error. There is a predefined set of error detail types |
||||
// in the package `google.rpc` that can be used for common error conditions. |
||||
// |
||||
// # Language mapping |
||||
// |
||||
// The `Status` message is the logical representation of the error model, but it |
||||
// is not necessarily the actual wire format. When the `Status` message is |
||||
// exposed in different client libraries and different wire protocols, it can be |
||||
// mapped differently. For example, it will likely be mapped to some exceptions |
||||
// in Java, but more likely mapped to some error codes in C. |
||||
// |
||||
// # Other uses |
||||
// |
||||
// The error model and the `Status` message can be used in a variety of |
||||
// environments, either with or without APIs, to provide a |
||||
// consistent developer experience across different environments. |
||||
// |
||||
// Example uses of this error model include: |
||||
// |
||||
// - Partial errors. If a service needs to return partial errors to the client, |
||||
// it may embed the `Status` in the normal response to indicate the partial |
||||
// errors. |
||||
// |
||||
// - Workflow errors. A typical workflow has multiple steps. Each step may |
||||
// have a `Status` message for error reporting. |
||||
// |
||||
// - Batch operations. If a client uses batch request and batch response, the |
||||
// `Status` message should be used directly inside batch response, one for |
||||
// each error sub-response. |
||||
// |
||||
// - Asynchronous operations. If an API call embeds asynchronous operation |
||||
// results in its response, the status of those operations should be |
||||
// represented directly using the `Status` message. |
||||
// |
||||
// - Logging. If some API errors are stored in logs, the message `Status` could |
||||
// be used directly after any stripping needed for security/privacy reasons. |
||||
message Status { |
||||
// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. |
||||
int32 code = 1; |
||||
|
||||
// A developer-facing error message, which should be in English. Any |
||||
// user-facing error message should be localized and sent in the |
||||
// [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. |
||||
string message = 2; |
||||
|
||||
// A list of messages that carry the error details. There is a common set of |
||||
// message types for APIs to use. |
||||
repeated google.protobuf.Any details = 3; |
||||
} |
||||
``` |
||||
|
||||
|
||||
### Usage of Well-Known-Proto `Any` |
||||
|
||||
Please check [ProtoBuf Document: Any](https://developers.google.com/protocol-buffers/docs/reference/python-generated#any) |
||||
|
||||
```Python |
||||
any_message.Pack(message) |
||||
any_message.Unpack(message) |
||||
assert any_message.Is(message.DESCRIPTOR) |
||||
``` |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue