Skip to content

Commit

Permalink
chore: add select auth method scene to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed Jul 22, 2024
1 parent 6032492 commit b478430
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 7 deletions.
2 changes: 1 addition & 1 deletion sample/Assets/Editor/MacBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static void BuildForAltTester()
{
BuildPlayerOptions buildPlayerOptions = new BuildPlayerOptions();
buildPlayerOptions.scenes = new string[] {
"Assets/Scenes/UnauthenticatedScene.unity", "Assets/Scenes/AuthenticatedScene.unity"
"Assets/Scenes/SelectAuthMethod.unity", "Assets/Scenes/UnauthenticatedScene.unity", "Assets/Scenes/AuthenticatedScene.unity"
};

buildPlayerOptions.locationPathName = "Builds/MacOS/SampleApp.app";
Expand Down
63 changes: 60 additions & 3 deletions sample/Assets/Scenes/SelectAuthMethod.unity
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,63 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &18695636
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5695254695310732894, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_Name
value: AltTesterPrefab
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3363dc30674e305438d727b310573f2f, type: 3}
--- !u!1 &27701369
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1218,7 +1275,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1192763474
MonoBehaviour:
Expand Down Expand Up @@ -1793,7 +1850,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1586568890
GameObject:
Expand Down Expand Up @@ -2147,7 +2204,7 @@ RectTransform:
m_Children:
- {fileID: 1238552242}
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
Expand Down
63 changes: 60 additions & 3 deletions sample/Assets/Scenes/UnauthenticatedScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,63 @@ RectTransform:
m_AnchoredPosition: {x: -0.000030040741, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1}
--- !u!1001 &119869053
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3563188778420322651, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5695254695310732894, guid: 3363dc30674e305438d727b310573f2f, type: 3}
propertyPath: m_Name
value: AltTesterPrefab
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3363dc30674e305438d727b310573f2f, type: 3}
--- !u!1 &160623835
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1935,7 +1992,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1201663674
GameObject:
Expand Down Expand Up @@ -2204,7 +2261,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1582459300
GameObject:
Expand Down Expand Up @@ -2540,7 +2597,7 @@ RectTransform:
- {fileID: 1582459301}
- {fileID: 172384059}
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
Expand Down

0 comments on commit b478430

Please sign in to comment.