Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SSBookMinigames
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
SSBookMinigames
Commits
005108ff
Commit
005108ff
authored
Apr 02, 2026
by
Yousef Sameh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scene
parent
ef6f7643
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
SupabaseManager.cs
My project/Assets/App/Infrastructure/SupabaseManager.cs
+7
-0
App.unity
My project/Assets/Scenes/App.unity
+46
-0
No files found.
My project/Assets/App/Infrastructure/SupabaseManager.cs
View file @
005108ff
...
@@ -7,6 +7,8 @@ using Client = Supabase.Client;
...
@@ -7,6 +7,8 @@ using Client = Supabase.Client;
public
class
SupabaseManager
:
MonoBehaviour
public
class
SupabaseManager
:
MonoBehaviour
{
{
public
static
SupabaseManager
Instance
{
private
set
;
get
;
}
// Public Unity references
// Public Unity references
// public SessionListener SessionListener = null!;
// public SessionListener SessionListener = null!;
...
@@ -22,6 +24,11 @@ public class SupabaseManager : MonoBehaviour
...
@@ -22,6 +24,11 @@ public class SupabaseManager : MonoBehaviour
private
async
void
Start
()
private
async
void
Start
()
{
{
if
(
Instance
!=
null
)
Destroy
(
Instance
);
Instance
=
this
;
SupabaseOptions
options
=
new
();
SupabaseOptions
options
=
new
();
// We set an option to refresh the token automatically using a background thread.
// We set an option to refresh the token automatically using a background thread.
options
.
AutoRefreshToken
=
true
;
options
.
AutoRefreshToken
=
true
;
...
...
My project/Assets/Scenes/App.unity
View file @
005108ff
...
@@ -380,6 +380,51 @@ CanvasRenderer:
...
@@ -380,6 +380,51 @@ 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
&1213667302
GameObject
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
serializedVersion
:
6
m_Component
:
-
component
:
{
fileID
:
1213667303
}
-
component
:
{
fileID
:
1213667304
}
m_Layer
:
0
m_Name
:
SessionListener
m_TagString
:
Untagged
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
---
!u!4
&1213667303
Transform
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1213667302
}
serializedVersion
:
2
m_LocalRotation
:
{
x
:
-0
,
y
:
-0
,
z
:
-0
,
w
:
1
}
m_LocalPosition
:
{
x
:
-0.21157
,
y
:
-2.7638
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_ConstrainProportionsScale
:
0
m_Children
:
[]
m_Father
:
{
fileID
:
1610260979
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!114
&1213667304
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1213667302
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
14bbed8449713f51db869aa6dba9c6fa
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
Assembly-CSharp::SessionListener
SupabaseManager
:
{
fileID
:
1610260978
}
---
!u!1
&1423736942
---
!u!1
&1423736942
GameObject
:
GameObject
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -618,6 +663,7 @@ Transform:
...
@@ -618,6 +663,7 @@ Transform:
m_ConstrainProportionsScale
:
0
m_ConstrainProportionsScale
:
0
m_Children
:
m_Children
:
-
{
fileID
:
920987601
}
-
{
fileID
:
920987601
}
-
{
fileID
:
1213667303
}
m_Father
:
{
fileID
:
0
}
m_Father
:
{
fileID
:
0
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!1
&1747486857
---
!u!1
&1747486857
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment