Commit e22f21a1 authored by Yousef Sameh's avatar Yousef Sameh

error handling

parent 005108ff
fileFormatVersion: 2
guid: 82aba075fd1900be5b2f9510a6d62bf1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: c4a38019f592be0fa9fbfe824233475f
\ No newline at end of file
using System;
using Supabase.Gotrue; using Supabase.Gotrue;
using Supabase.Gotrue.Interfaces; using Supabase.Gotrue.Interfaces;
using UnityEngine; using UnityEngine;
using UnityEngine.Events;
public class SessionListener : MonoBehaviour public class SessionListener : MonoBehaviour
{ {
// Public Unity References
[SerializeField] private SupabaseManager SupabaseManager; [SerializeField] private SupabaseManager SupabaseManager;
[SerializeField] private UnityEvent LoggedIn;
[SerializeField] private UnityEvent LoggedOut;
public void UnityAuthListener(IGotrueClient<User, Session> sender, Constants.AuthState newState) public void UnityAuthListener(IGotrueClient<User, Session> sender, Constants.AuthState newState)
{ {
switch (newState) switch (newState)
{ {
case Constants.AuthState.SignedIn: case Constants.AuthState.SignedIn:
Debug.Log("Signed In"); LoggedIn.Invoke();
break; break;
case Constants.AuthState.SignedOut: case Constants.AuthState.SignedOut:
Debug.Log("Signed Out"); LoggedOut.Invoke();
break; break;
case Constants.AuthState.UserUpdated: case Constants.AuthState.UserUpdated:
Debug.Log("Signed In"); Debug.Log("Signed In");
......
using System;
using Cysharp.Threading.Tasks; using Cysharp.Threading.Tasks;
using OneOf;
using Supabase.Gotrue.Exceptions;
using UnityEngine; using UnityEngine;
public class SupabaseAuthentication : MonoBehaviour public class SupabaseAuthentication : MonoBehaviour
{ {
[SerializeField] private SupabaseManager supabaseManager; [SerializeField] private SupabaseManager supabaseManager;
public static SupabaseAuthentication Instance { private set; get; }
public bool IsLoading { private set; get; } public bool IsLoading { private set; get; }
public async UniTask LogIn(string username, string password) void Awake()
{
Instance = this;
}
public async UniTask<OneOf<Success, string>> LogIn(string username, string password)
{ {
IsLoading = true; try
await supabaseManager.Supabase()!.Auth.SignIn(username, password); {
IsLoading = false; IsLoading = true;
await supabaseManager.Supabase()!.Auth.SignIn(username, password);
return new Success();
}
catch (GotrueException gotrueexception)
{
return gotrueexception.Message;
}
catch (Exception e)
{
return e.Message;
}
finally
{
IsLoading = false;
}
} }
public async UniTask SignUp(string username, string password) public async UniTask<OneOf<Success, string>> SignUp(string username, string password)
{ {
IsLoading = true; try
await supabaseManager.Supabase()!.Auth.SignUp(username, password); {
IsLoading = false; IsLoading = true;
await supabaseManager.Supabase()!.Auth.SignUp(username, password);
return new Success();
}
catch (GotrueException gotrueexception)
{
IsLoading = false;
return gotrueexception.Message;
}
catch (Exception e)
{
return e.Message;
}
finally
{
IsLoading = false;
}
} }
public async UniTask LogOut() public async UniTask<OneOf<Success, string>> LogOut()
{ {
IsLoading = true; try
await supabaseManager.Supabase()!.Auth.SignOut(); {
IsLoading = false; IsLoading = true;
await supabaseManager.Supabase()!.Auth.SignOut();
return new Success();
}
catch (GotrueException gotrueexception)
{
return gotrueexception.Message;
}
catch (Exception e)
{
return e.Message;
}
finally
{
IsLoading = false;
}
} }
} }
...@@ -7,10 +7,9 @@ using Client = Supabase.Client; ...@@ -7,10 +7,9 @@ using Client = Supabase.Client;
public class SupabaseManager : MonoBehaviour public class SupabaseManager : MonoBehaviour
{ {
public static SupabaseManager Instance { private set; get; } public static SupabaseManager Instance { private set; get; }
// Public Unity references
// public SessionListener SessionListener = null!; [SerializeField] private SessionListener SessionListener;
public TMP_Text ErrorText = null!; public TMP_Text ErrorText = null!;
...@@ -47,7 +46,7 @@ public class SupabaseManager : MonoBehaviour ...@@ -47,7 +46,7 @@ public class SupabaseManager : MonoBehaviour
client.Auth.SetPersistence(new UnitySession()); client.Auth.SetPersistence(new UnitySession());
// This will be called whenever the session changes // This will be called whenever the session changes
// client.Auth.AddStateChangedListener(SessionListener.UnityAuthListener); client.Auth.AddStateChangedListener(SessionListener.UnityAuthListener);
// Fetch the session from the persistence layer // Fetch the session from the persistence layer
// If there is a valid/unexpired session available this counts as a user log in // If there is a valid/unexpired session available this counts as a user log in
...@@ -58,6 +57,7 @@ public class SupabaseManager : MonoBehaviour ...@@ -58,6 +57,7 @@ public class SupabaseManager : MonoBehaviour
// email verification flow before you can use the session. // email verification flow before you can use the session.
client.Auth.Options.AllowUnconfirmedUserSessions = true; client.Auth.Options.AllowUnconfirmedUserSessions = true;
// We check the network status to see if we are online or offline using a request to fetch // We check the network status to see if we are online or offline using a request to fetch
// the server settings from our project. Here's how we build that URL. // the server settings from our project. Here's how we build that URL.
string url = $"{SupabaseSettings.SupabaseURL}/auth/v1/settings?apikey={SupabaseSettings.SupabaseAnonKey}"; string url = $"{SupabaseSettings.SupabaseURL}/auth/v1/settings?apikey={SupabaseSettings.SupabaseAnonKey}";
......
public static class SupabaseSettings public static class SupabaseSettings
{ {
public static string SupabaseURL = null!;
public static string SupabaseAnonKey = null!; public static string SupabaseURL = "https://pnmtmmapmqvlkzyoqmrk.supabase.co";
public static string SupabaseAnonKey = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InBubXRtbWFwbXF2bGt6eW9xbXJrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzUwOTQ1MTMsImV4cCI6MjA5MDY3MDUxM30.0TqHyRCMxifnQqO1C_ObKRQxBrG0cbynWfaLXJqKT2k";
} }
fileFormatVersion: 2
guid: 69249766a89123d74871e6da86697675
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
using System;
using UnityEngine;
public class SupabaseTester : MonoBehaviour
{
[SerializeField] private SupabaseAuthentication supabaseAuthentication;
[ContextMenu("Sign In")]
public void SignIn()
{
supabaseAuthentication.LogIn("test@gmail.com", "test098");
}
[ContextMenu("Sign Up")]
public void SignUp()
{
supabaseAuthentication.SignUp("test@gmail.com", "test098");
}
}
fileFormatVersion: 2
guid: 87e81a7f39f4c68ea8e8ab8d8462bd14
\ No newline at end of file
fileFormatVersion: 2
guid: b2a3a6d104760b492a6a7c6e7356bc7d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>OneOf</id>
<version>3.0.271</version>
<title>OneOf - Easy Discriminated Unions for c#</title>
<authors>Harry McIntyre</authors>
<licenseUrl>https://github.com/mcintyre321/OneOf/blob/master/licence.md</licenseUrl>
<projectUrl>https://github.com/mcintyre321/OneOf/</projectUrl>
<description>F# style discriminated unions for C#, using a custom type OneOf&lt;T0, ... Tn&gt; which holds a single value and has a .Match(...) method on it for exhaustive matching. Simple but powerful.</description>
<copyright>Harry McIntyre</copyright>
<tags>discriminated unions, return type, match switch</tags>
<repository type="git" url="https://github.com/mcintyre321/OneOf.git" commit="6e02dbe75d0f20f198c640d4c04190a85c5ac9e6" />
<dependencies>
<group targetFramework=".NETFramework3.5" />
<group targetFramework=".NETFramework4.5" />
<group targetFramework=".NETStandard1.3">
<dependency id="NETStandard.Library" version="1.6.1" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETStandard2.0" />
</dependencies>
</metadata>
</package>
\ No newline at end of file
fileFormatVersion: 2
guid: 6bc7c8d8b09b7c71f808de569d4ce917
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 786ac3b97c851ac87890c875cdc32ebd
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 9b1b495aca2a57324b5508414af8e4ed
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: da4f75ed90d49b05f9b9686440f0f1ce
labels:
- NuGetForUnity
PluginImporter:
externalObjects: {}
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
Any:
enabled: 1
settings: {}
Editor:
enabled: 0
settings:
DefaultValueInitialized: true
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
...@@ -380,6 +380,97 @@ CanvasRenderer: ...@@ -380,6 +380,97 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1016998376} m_GameObject: {fileID: 1016998376}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1 &1155791801
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1155791803}
- component: {fileID: 1155791802}
m_Layer: 0
m_Name: Circle
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!212 &1155791802
SpriteRenderer:
serializedVersion: 2
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1155791801}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_ForceMeshLod: -1
m_MeshLodSelectionBias: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_GlobalIlluminationMeshLod: 0
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_MaskInteraction: 0
m_Sprite: {fileID: -2413806693520163455, guid: a86470a33a6bf42c4b3595704624658b, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 1, y: 1}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_SpriteSortPoint: 0
--- !u!4 &1155791803
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1155791801}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.31702, y: 0.01101, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1213667302 --- !u!1 &1213667302
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -425,6 +516,69 @@ MonoBehaviour: ...@@ -425,6 +516,69 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: Assembly-CSharp::SessionListener m_EditorClassIdentifier: Assembly-CSharp::SessionListener
SupabaseManager: {fileID: 1610260978} SupabaseManager: {fileID: 1610260978}
LoggedIn:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1155791801}
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
m_MethodName: SetActive
m_Mode: 6
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
LoggedOut:
m_PersistentCalls:
m_Calls: []
--- !u!1 &1360329117
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1360329119}
- component: {fileID: 1360329118}
m_Layer: 0
m_Name: SupabaseTester
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1360329118
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1360329117}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 87e81a7f39f4c68ea8e8ab8d8462bd14, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::SupabaseTester
supabaseAuthentication: {fileID: 920987602}
--- !u!4 &1360329119
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1360329117}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.31702, y: 0.01101, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1423736942 --- !u!1 &1423736942
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
...@@ -648,6 +802,7 @@ MonoBehaviour: ...@@ -648,6 +802,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 5baed90edb7a40852b66a41622c93859, type: 3} m_Script: {fileID: 11500000, guid: 5baed90edb7a40852b66a41622c93859, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: Assembly-CSharp::com.example.SupabaseManager m_EditorClassIdentifier: Assembly-CSharp::com.example.SupabaseManager
SessionListener: {fileID: 1213667304}
ErrorText: {fileID: 1016998378} ErrorText: {fileID: 1016998378}
--- !u!4 &1610260979 --- !u!4 &1610260979
Transform: Transform:
...@@ -802,3 +957,5 @@ SceneRoots: ...@@ -802,3 +957,5 @@ SceneRoots:
- {fileID: 1610260979} - {fileID: 1610260979}
- {fileID: 1423736946} - {fileID: 1423736946}
- {fileID: 48756273} - {fileID: 48756273}
- {fileID: 1155791803}
- {fileID: 1360329119}
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<package id="Microsoft.IdentityModel.Logging" version="7.5.1" /> <package id="Microsoft.IdentityModel.Logging" version="7.5.1" />
<package id="Microsoft.IdentityModel.Tokens" version="7.5.1" /> <package id="Microsoft.IdentityModel.Tokens" version="7.5.1" />
<package id="MimeMapping" version="3.0.1" /> <package id="MimeMapping" version="3.0.1" />
<package id="OneOf" version="3.0.271" manuallyInstalled="true" />
<package id="Supabase" version="1.1.1" manuallyInstalled="true" /> <package id="Supabase" version="1.1.1" manuallyInstalled="true" />
<package id="Supabase.Core" version="1.0.0" /> <package id="Supabase.Core" version="1.0.0" />
<package id="Supabase.Functions" version="2.0.0" /> <package id="Supabase.Functions" version="2.0.0" />
......
...@@ -24,7 +24,7 @@ MonoBehaviour: ...@@ -24,7 +24,7 @@ MonoBehaviour:
m_MinSize: {x: 300, y: 112} m_MinSize: {x: 300, y: 112}
m_MaxSize: {x: 24288, y: 16192} m_MaxSize: {x: 24288, y: 16192}
vertical: 0 vertical: 0
controlID: 28809 controlID: 3488
draggingID: 0 draggingID: 0
--- !u!114 &2 --- !u!114 &2
MonoBehaviour: MonoBehaviour:
...@@ -50,7 +50,7 @@ MonoBehaviour: ...@@ -50,7 +50,7 @@ MonoBehaviour:
x: 355 x: 355
y: 61 y: 61
width: 1097 width: 1097
height: 672 height: 508
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -107,22 +107,22 @@ MonoBehaviour: ...@@ -107,22 +107,22 @@ MonoBehaviour:
x: 0 x: 0
y: 21 y: 21
width: 1097 width: 1097
height: 651 height: 487
m_Scale: {x: 0.27125, y: 0.27125} m_Scale: {x: 0.20291667, y: 0.20291667}
m_Translation: {x: 548.5, y: 325.5} m_Translation: {x: 548.5, y: 243.5}
m_MarginLeft: 0 m_MarginLeft: 0
m_MarginRight: 0 m_MarginRight: 0
m_MarginTop: 0 m_MarginTop: 0
m_MarginBottom: 0 m_MarginBottom: 0
m_LastShownAreaInsideMargins: m_LastShownAreaInsideMargins:
serializedVersion: 2 serializedVersion: 2
x: -2022.1198 x: -2703.08
y: -1200 y: -1200
width: 4044.2395 width: 5406.16
height: 2400 height: 2400
m_MinimalGUI: 1 m_MinimalGUI: 1
m_defaultScale: 0.27125 m_defaultScale: 0.20291667
m_LastWindowPixelSize: {x: 1097, y: 672} m_LastWindowPixelSize: {x: 1097, y: 508}
m_ClearInEditMode: 1 m_ClearInEditMode: 1
m_NoCameraWarning: 1 m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000 m_LowResolutionForAspectRatios: 01000000000000000000
...@@ -153,7 +153,7 @@ MonoBehaviour: ...@@ -153,7 +153,7 @@ MonoBehaviour:
m_MinSize: {x: 200, y: 112} m_MinSize: {x: 200, y: 112}
m_MaxSize: {x: 16192, y: 16192} m_MaxSize: {x: 16192, y: 16192}
vertical: 1 vertical: 1
controlID: 28810 controlID: 3489
draggingID: 0 draggingID: 0
--- !u!114 &4 --- !u!114 &4
MonoBehaviour: MonoBehaviour:
...@@ -175,11 +175,11 @@ MonoBehaviour: ...@@ -175,11 +175,11 @@ MonoBehaviour:
x: 0 x: 0
y: 0 y: 0
width: 1454 width: 1454
height: 698 height: 534
m_MinSize: {x: 200, y: 56} m_MinSize: {x: 200, y: 56}
m_MaxSize: {x: 16192, y: 8096} m_MaxSize: {x: 16192, y: 8096}
vertical: 0 vertical: 0
controlID: 28811 controlID: 3490
draggingID: 0 draggingID: 0
--- !u!114 &5 --- !u!114 &5
MonoBehaviour: MonoBehaviour:
...@@ -199,7 +199,7 @@ MonoBehaviour: ...@@ -199,7 +199,7 @@ MonoBehaviour:
x: 0 x: 0
y: 0 y: 0
width: 355 width: 355
height: 698 height: 534
m_MinSize: {x: 201, y: 226} m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026} m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 6} m_ActualView: {fileID: 6}
...@@ -231,7 +231,7 @@ MonoBehaviour: ...@@ -231,7 +231,7 @@ MonoBehaviour:
x: 0 x: 0
y: 61 y: 61
width: 354 width: 354
height: 672 height: 508
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -249,71 +249,15 @@ MonoBehaviour: ...@@ -249,71 +249,15 @@ MonoBehaviour:
m_TreeViewState: m_TreeViewState:
scrollPos: {x: 0, y: 0} scrollPos: {x: 0, y: 0}
m_SelectedIDs: m_SelectedIDs:
- m_Data: 31262 - m_Data: 57490
m_LastClickedID: m_LastClickedID:
m_Data: 0 m_Data: 0
m_ExpandedIDs: m_ExpandedIDs:
- m_Data: -232458 - m_Data: -24928
- m_Data: -232452 - m_Data: -17046
- m_Data: -231888 - m_Data: -8322
- m_Data: -228952 - m_Data: -8108
- m_Data: -228844 - m_Data: -7906
- m_Data: -228838
- m_Data: -223936
- m_Data: -141172
- m_Data: -141166
- m_Data: -139358
- m_Data: -136274
- m_Data: -135680
- m_Data: -131244
- m_Data: -131070
- m_Data: -130508
- m_Data: -127982
- m_Data: -127850
- m_Data: -127262
- m_Data: -124932
- m_Data: -124926
- m_Data: -124364
- m_Data: -121398
- m_Data: -121392
- m_Data: -120814
- m_Data: -117480
- m_Data: -117438
- m_Data: -117396
- m_Data: -117354
- m_Data: -117312
- m_Data: -117306
- m_Data: -116748
- m_Data: -116744
- m_Data: -101862
- m_Data: -101274
- m_Data: -93060
- m_Data: -66496
- m_Data: -66406
- m_Data: -63942
- m_Data: -56900
- m_Data: -56894
- m_Data: -56882
- m_Data: -38740
- m_Data: -38402
- m_Data: -35346
- m_Data: -31936
- m_Data: -30482
- m_Data: -26860
- m_Data: -26604
- m_Data: -25992
- m_Data: -23584
- m_Data: -23350
- m_Data: -22226
- m_Data: -19822
- m_Data: -19622
- m_Data: -19616
- m_Data: -19054
- m_Data: -14498
- m_Data: -14248
- m_Data: -14242
- m_Data: -13630
- m_Data: -9566
- m_Data: -1342 - m_Data: -1342
m_RenameOverlay: m_RenameOverlay:
m_UserAcceptedRename: 0 m_UserAcceptedRename: 0
...@@ -358,7 +302,7 @@ MonoBehaviour: ...@@ -358,7 +302,7 @@ MonoBehaviour:
x: 355 x: 355
y: 0 y: 0
width: 1099 width: 1099
height: 698 height: 534
m_MinSize: {x: 202, y: 226} m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026} m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 2} m_ActualView: {fileID: 2}
...@@ -391,7 +335,7 @@ MonoBehaviour: ...@@ -391,7 +335,7 @@ MonoBehaviour:
x: 355 x: 355
y: 61 y: 61
width: 1097 width: 1097
height: 672 height: 508
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -976,9 +920,9 @@ MonoBehaviour: ...@@ -976,9 +920,9 @@ MonoBehaviour:
m_AudioPlay: 0 m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0 m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position: m_Position:
m_Target: {x: -0.46512085, y: 5.2452955, z: -1.1591719} m_Target: {x: 0.3170178, y: 0.01101324, z: -0.0036561592}
speed: 2 speed: 2
m_Value: {x: -0.46512085, y: 5.2452955, z: -1.1591719} m_Value: {x: 0.3170178, y: 0.01101324, z: -0.0036561592}
m_RenderMode: 0 m_RenderMode: 0
m_CameraMode: m_CameraMode:
drawMode: 0 drawMode: 0
...@@ -1028,9 +972,9 @@ MonoBehaviour: ...@@ -1028,9 +972,9 @@ MonoBehaviour:
speed: 2 speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1} m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size: m_Size:
m_Target: 5.9171705 m_Target: 10.365613
speed: 2 speed: 2
m_Value: 5.9171705 m_Value: 10.365613
m_Ortho: m_Ortho:
m_Target: 1 m_Target: 1
speed: 2 speed: 2
...@@ -1080,9 +1024,9 @@ MonoBehaviour: ...@@ -1080,9 +1024,9 @@ MonoBehaviour:
m_Position: m_Position:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 698 y: 534
width: 1454 width: 1454
height: 285 height: 449
m_MinSize: {x: 231, y: 276} m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026} m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 10} m_ActualView: {fileID: 10}
...@@ -1115,9 +1059,9 @@ MonoBehaviour: ...@@ -1115,9 +1059,9 @@ MonoBehaviour:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 759 y: 595
width: 1453 width: 1453
height: 259 height: 423
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1142,7 +1086,7 @@ MonoBehaviour: ...@@ -1142,7 +1086,7 @@ MonoBehaviour:
m_SkipHidden: 0 m_SkipHidden: 0
m_SearchArea: 1 m_SearchArea: 1
m_Folders: m_Folders:
- Assets/Prefabs/CS - Assets/Scenes
m_Globs: [] m_Globs: []
m_ProductIds: m_ProductIds:
m_AnyWithAssetOrigin: 0 m_AnyWithAssetOrigin: 0
...@@ -1152,22 +1096,25 @@ MonoBehaviour: ...@@ -1152,22 +1096,25 @@ MonoBehaviour:
m_ViewMode: 1 m_ViewMode: 1
m_StartGridSize: 96 m_StartGridSize: 96
m_LastFolders: m_LastFolders:
- Assets/Prefabs/CS - Assets/Scenes
m_LastFoldersGridSize: 96 m_LastFoldersGridSize: 96
m_LastProjectPath: /home/p0wer/development/ssbookminigames/My project m_LastProjectPath: /home/p0wer/development/ssbookminigames/My project
m_LockTracker: m_LockTracker:
m_IsLocked: 0 m_IsLocked: 0
m_LastLocalAssetsSearchArea: 1 m_LastLocalAssetsSearchArea: 1
m_FolderTreeState: m_FolderTreeState:
scrollPos: {x: 0, y: 271} scrollPos: {x: 0, y: 157}
m_SelectedIDs: m_SelectedIDs:
- m_Data: 55680 - m_Data: 55598
m_LastClickedID: m_LastClickedID:
m_Data: 55680 m_Data: 55598
m_ExpandedIDs: m_ExpandedIDs:
- m_Data: 0 - m_Data: 0
- m_Data: 55230 - m_Data: 55228
- m_Data: 55594 - m_Data: 55592
- m_Data: 55598
- m_Data: 57020
- m_Data: 57310
- m_Data: 1000000000 - m_Data: 1000000000
- m_Data: 2147483647 - m_Data: 2147483647
m_RenameOverlay: m_RenameOverlay:
...@@ -1202,7 +1149,10 @@ MonoBehaviour: ...@@ -1202,7 +1149,10 @@ MonoBehaviour:
m_Data: 0 m_Data: 0
m_ExpandedIDs: m_ExpandedIDs:
- m_Data: 0 - m_Data: 0
- m_Data: 55230 - m_Data: 55228
- m_Data: 55592
- m_Data: 57020
- m_Data: 57310
- m_Data: 1000000000 - m_Data: 1000000000
- m_Data: 2147483647 - m_Data: 2147483647
m_RenameOverlay: m_RenameOverlay:
...@@ -1232,9 +1182,9 @@ MonoBehaviour: ...@@ -1232,9 +1182,9 @@ MonoBehaviour:
m_ResourceFile: m_ResourceFile:
m_ListAreaState: m_ListAreaState:
m_SelectedInstanceIDs: m_SelectedInstanceIDs:
- m_Data: 31262 - m_Data: 57490
m_LastClickedInstanceID: 31262 m_LastClickedInstanceID: 57490
m_HadKeyboardFocusLastEvent: 0 m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: m_ExpandedInstanceIDs:
- m_Data: 46526 - m_Data: 46526
- m_Data: 61214 - m_Data: 61214
...@@ -1290,9 +1240,9 @@ MonoBehaviour: ...@@ -1290,9 +1240,9 @@ MonoBehaviour:
m_Pos: m_Pos:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
y: 759 y: 595
width: 1453 width: 1453
height: 259 height: 423
m_SerializedDataModeController: m_SerializedDataModeController:
m_DataMode: 0 m_DataMode: 0
m_PreferredDataMode: 0 m_PreferredDataMode: 0
...@@ -1421,8 +1371,8 @@ MonoBehaviour: ...@@ -1421,8 +1371,8 @@ MonoBehaviour:
y: 0 y: 0
width: 450 width: 450
height: 983 height: 983
m_MinSize: {x: 275, y: 50} m_MinSize: {x: 276, y: 76}
m_MaxSize: {x: 4000, y: 4000} m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 15} m_ActualView: {fileID: 15}
m_Panes: m_Panes:
- {fileID: 15} - {fileID: 15}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment