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
f0009dc4
Commit
f0009dc4
authored
Apr 02, 2026
by
mohamed20047
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Login and signup UI
parent
e22f21a1
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
5698 additions
and
461 deletions
+5698
-461
UI.meta
My project/Assets/App/UI.meta
+8
-0
CreateAcountUI.cs
My project/Assets/App/UI/CreateAcountUI.cs
+59
-0
CreateAcountUI.cs.meta
My project/Assets/App/UI/CreateAcountUI.cs.meta
+2
-0
HomeUI.cs
My project/Assets/App/UI/HomeUI.cs
+26
-0
HomeUI.cs.meta
My project/Assets/App/UI/HomeUI.cs.meta
+2
-0
LoginUI.cs
My project/Assets/App/UI/LoginUI.cs
+68
-0
LoginUI.cs.meta
My project/Assets/App/UI/LoginUI.cs.meta
+2
-0
APP.meta
My project/Assets/Art/UI/APP.meta
+8
-0
UI Circle.png
My project/Assets/Art/UI/APP/UI Circle.png
+0
-0
UI Circle.png.meta
My project/Assets/Art/UI/APP/UI Circle.png.meta
+143
-0
App.unity
My project/Assets/Scenes/App.unity
+5361
-461
ShaderGraphSettings.asset
My project/ProjectSettings/ShaderGraphSettings.asset
+19
-0
No files found.
My project/Assets/App/UI.meta
0 → 100644
View file @
f0009dc4
fileFormatVersion: 2
guid: 64baee4a9f4e1074b8e6215cd32acb5c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
My project/Assets/App/UI/CreateAcountUI.cs
0 → 100644
View file @
f0009dc4
using
TMPro
;
using
UnityEngine
;
using
UnityEngine.UI
;
public
class
CreateAcountUI
:
MonoBehaviour
{
//public static CreateAcountUI Instance;
[
SerializeField
]
private
TMP_InputField
displayNameInputField
;
[
SerializeField
]
private
TMP_InputField
emailInputField
;
[
SerializeField
]
private
TMP_InputField
passwordInputField
;
[
SerializeField
]
private
Button
createAcountButton
;
[
SerializeField
]
private
Button
loginPanelButton
;
[
SerializeField
]
private
TextMeshProUGUI
messageText
;
//private void Awake()
//{
// if (Instance == null)
// {
// Instance = this;
// }
// else
// {
// Debug.LogError("there are two Create Acount menu");
// }
//}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void
Start
()
{
createAcountButton
.
onClick
.
AddListener
(
CreateAcount
);
}
// Update is called once per frame
void
Update
()
{
}
private
async
void
CreateAcount
()
{
string
displayName
=
displayNameInputField
.
text
;
string
email
=
emailInputField
.
text
;
string
password
=
passwordInputField
.
text
;
var
SignUp
=
await
SupabaseAuthentication
.
Instance
.
SignUp
(
email
,
password
);
SignUp
.
Switch
(
(
_
)
=>
{
},
(
string
error
)
=>
{
messageText
.
text
=
error
;
}
);
}
public
void
Show
()
{
gameObject
.
SetActive
(
true
);
}
public
void
hide
()
{
gameObject
.
SetActive
(
false
);
}
}
My project/Assets/App/UI/CreateAcountUI.cs.meta
0 → 100644
View file @
f0009dc4
fileFormatVersion: 2
guid: 2c2b51eebf07c684cbe0a17a3790e775
\ No newline at end of file
My project/Assets/App/UI/HomeUI.cs
0 → 100644
View file @
f0009dc4
using
UnityEngine
;
public
class
HomeUI
:
MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void
Start
()
{
}
// Update is called once per frame
void
Update
()
{
}
public
void
show
()
{
gameObject
.
SetActive
(
true
);
}
public
void
hide
()
{
gameObject
.
SetActive
(
false
);
}
}
My project/Assets/App/UI/HomeUI.cs.meta
0 → 100644
View file @
f0009dc4
fileFormatVersion: 2
guid: 6abd7c2813215344aacce964e4964aac
\ No newline at end of file
My project/Assets/App/UI/LoginUI.cs
0 → 100644
View file @
f0009dc4
using
TMPro
;
using
UnityEngine
;
using
UnityEngine.UI
;
public
class
LoginUI
:
MonoBehaviour
{
//public static LoginUI Instance;
[
SerializeField
]
private
TMP_InputField
emailInputField
;
[
SerializeField
]
private
TMP_InputField
passwordInputField
;
[
SerializeField
]
private
Button
loginButton
;
[
SerializeField
]
private
Button
createAcountPanelButton
;
[
SerializeField
]
private
TextMeshProUGUI
messageText
;
//private void Awake()
//{
// if (Instance == null)
// {
// Instance = this;
// }
// else
// {
// Debug.LogError("there are two login menu");
// }
//}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void
Start
()
{
loginButton
.
onClick
.
AddListener
(
Login
);
//createAcountPanelButton.onClick.AddListener(() =>
//{
// CreateAcountUI.Instance.Show();
// hide();
//});
}
// Update is called once per frame
void
Update
()
{
}
private
async
void
Login
()
{
string
email
=
emailInputField
.
text
;
string
password
=
passwordInputField
.
text
;
var
login
=
await
SupabaseAuthentication
.
Instance
.
LogIn
(
email
,
password
);
login
.
Switch
(
(
_
)
=>
{
},
(
string
error
)
=>
{
messageText
.
text
=
error
;
}
);
}
public
void
Show
()
{
gameObject
.
SetActive
(
true
);
}
public
void
hide
()
{
gameObject
.
SetActive
(
false
);
}
}
My project/Assets/App/UI/LoginUI.cs.meta
0 → 100644
View file @
f0009dc4
fileFormatVersion: 2
guid: 15584a60abf537c4fb863ba3aeb3ee6d
\ No newline at end of file
My project/Assets/Art/UI/APP.meta
0 → 100644
View file @
f0009dc4
fileFormatVersion: 2
guid: acc4ff9b9beebb149be000243ccc63d6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
My project/Assets/Art/UI/APP/UI Circle.png
0 → 100644
View file @
f0009dc4
5.94 KB
My project/Assets/Art/UI/APP/UI Circle.png.meta
0 → 100644
View file @
f0009dc4
fileFormatVersion: 2
guid: 0fadcdd3f5d3e144f84fd080754e32bb
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 100, y: 100, z: 100, w: 100}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 1537655665
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
My project/Assets/Scenes/App.unity
View file @
f0009dc4
This diff is collapsed.
Click to expand it.
My project/ProjectSettings/ShaderGraphSettings.asset
0 → 100644
View file @
f0009dc4
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!114
&1
MonoBehaviour
:
m_ObjectHideFlags
:
61
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
0
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
de02f9e1d18f588468e474319d09a723
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
shaderVariantLimit
:
128
overrideShaderVariantLimit
:
0
customInterpolatorErrorThreshold
:
32
customInterpolatorWarningThreshold
:
16
customHeatmapValues
:
{
fileID
:
0
}
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