Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

anonymous auth for mobile #660

Merged
merged 13 commits into from
Jan 9, 2019
4 changes: 2 additions & 2 deletions spatialos.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "unity_gdk",
"project_version": "0.0.1",
"sdk_version": "13.5.0-b7795-fdd6a-WORKER-SNAPSHOT",
"sdk_version": "13.5.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this not break our tracking?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed internally: as long as we are not doing a new release it should be ok

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"dependencies": [
{"name": "standard_library", "version": "13.5.0-b7795-fdd6a-WORKER-SNAPSHOT"}
{"name": "standard_library", "version": "13.5.0"}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
MaxConnectionAttempts: 3
UseExternalIp: 1
DevelopmentAuthToken:
level: {fileID: 1652884293046250, guid: 849b7fe21c599e842ae89f79f70c0f6d, type: 2}
241 changes: 240 additions & 1 deletion workers/unity/Assets/Playground/Scenes/AndroidClientScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.6126344, g: 0.7149495, b: 0.9649804, a: 1}
m_IndirectSpecularColor: {r: 0.6126345, g: 0.7149495, b: 0.9649808, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -175,6 +175,123 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &351371664
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 1289929867420372, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 351371665}
- component: {fileID: 351371668}
- component: {fileID: 351371667}
- component: {fileID: 351371666}
m_Layer: 5
m_Name: CloudConnectButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &351371665
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 224766611083145788, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 351371664}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2, y: 2, z: 2}
m_Children:
- {fileID: 2104559979}
m_Father: {fileID: 1210656909}
m_RootOrder: 1
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: -15}
m_SizeDelta: {x: 160, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &351371666
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 114029770838505378, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 351371664}
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: 351371667}
m_OnClick:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &351371667
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 114593365052726124, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 351371664}
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: 1, g: 1, b: 1, 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 &351371668
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 222247101437013878, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 351371664}
m_CullTransparentMesh: 0
--- !u!1 &626948022
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -375,6 +492,44 @@ Prefab:
value:
objectReference: {fileID: 1765859764722708, guid: ad000091c16ee1f47a26cb1cf06609c2,
type: 2}
- target: {fileID: 224947034767686430, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 224766611083145788, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 1289929867420372, guid: cb8dbba4c65c91e46ad63edeccf8273a, type: 2}
propertyPath: m_Name
value: LocalConnectButton
objectReference: {fileID: 0}
- target: {fileID: 1665832545639030, guid: cb8dbba4c65c91e46ad63edeccf8273a, type: 2}
propertyPath: m_Name
value: LocalConnect
objectReference: {fileID: 0}
- target: {fileID: 114469548836837238, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
propertyPath: m_Text
value: Local connect
objectReference: {fileID: 0}
- target: {fileID: 114977187379559466, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
propertyPath: localConnectButton
value:
objectReference: {fileID: 1210656906}
- target: {fileID: 114977187379559466, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
propertyPath: cloudConnectButton
value:
objectReference: {fileID: 351371666}
- target: {fileID: 224947034767686430, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
propertyPath: m_AnchoredPosition.y
value: -90
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: cb8dbba4c65c91e46ad63edeccf8273a, type: 2}
m_IsPrefabAsset: 0
Expand All @@ -401,6 +556,11 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 1681255764938512, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 1210656904}
--- !u!224 &1210656909 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 224395684305428438, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 1210656904}
--- !u!1 &1372932560
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -470,3 +630,82 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2104559978
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 1665832545639030, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2104559979}
- component: {fileID: 2104559981}
- component: {fileID: 2104559980}
m_Layer: 5
m_Name: CloudConnect
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2104559979
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 224731230962901138, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2104559978}
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: 351371665}
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 &2104559980
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 114469548836837238, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2104559978}
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: Connect to Cloud
--- !u!222 &2104559981
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 222519055084862868, guid: cb8dbba4c65c91e46ad63edeccf8273a,
type: 2}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2104559978}
m_CullTransparentMesh: 0
Loading