Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Multiplayer-arena-game
/
Multiplayer-arena-game-GameObjects
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
39dc1546
authored
Apr 20, 2025
by
alsunj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add update timers about remaining players and game start
parent
f32f751b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99 additions
and
78 deletions
Assets/_Game/Code/UI/ClientConnectionManager.cs
Assets/_Game/Scenes/ConnectionScene.unity
Assets/_Game/Scenes/SC.unity
ProjectSettings/ProjectSettings.asset
ProjectSettings/QualitySettings.asset
Assets/_Game/Code/UI/ClientConnectionManager.cs
View file @
39dc1546
This diff is collapsed.
Click to expand it.
Assets/_Game/Scenes/ConnectionScene.unity
View file @
39dc1546
...
@@ -281,6 +281,7 @@ GameObject:
...
@@ -281,6 +281,7 @@ GameObject:
serializedVersion
:
6
serializedVersion
:
6
m_Component
:
m_Component
:
-
component
:
{
fileID
:
529219306
}
-
component
:
{
fileID
:
529219306
}
-
component
:
{
fileID
:
529219308
}
-
component
:
{
fileID
:
529219307
}
-
component
:
{
fileID
:
529219307
}
m_Layer
:
0
m_Layer
:
0
m_Name
:
ConnectionManager
m_Name
:
ConnectionManager
...
@@ -316,6 +317,12 @@ MonoBehaviour:
...
@@ -316,6 +317,12 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
073290f5692bc3e468889c25d8a4f3e4
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
073290f5692bc3e468889c25d8a4f3e4
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
ShowTopMostFoldoutHeaderGroup
:
1
_WaitingPlayerPanel
:
{
fileID
:
1405885247
}
_waitingText
:
{
fileID
:
1216956540
}
_countdownPanel
:
{
fileID
:
2138866768
}
_countdownText
:
{
fileID
:
1593960351
}
_connectionPanel
:
{
fileID
:
1517982078
}
_addressField
:
{
fileID
:
776996437
}
_addressField
:
{
fileID
:
776996437
}
_portField
:
{
fileID
:
1656278101
}
_portField
:
{
fileID
:
1656278101
}
_connectionModeDropdown
:
{
fileID
:
1746526225
}
_connectionModeDropdown
:
{
fileID
:
1746526225
}
...
@@ -329,6 +336,33 @@ MonoBehaviour:
...
@@ -329,6 +336,33 @@ MonoBehaviour:
_gameStartCountDownTime
:
2
_gameStartCountDownTime
:
2
_slimeSpawnCooldownTime
:
0.1
_slimeSpawnCooldownTime
:
0.1
_rogueSpawnCooldownTime
:
1
_rogueSpawnCooldownTime
:
1
playerPrefab
:
{
fileID
:
7039287367920326276
,
guid
:
702bb31d143eeaa4792be36b28160445
,
type
:
3
}
_startGameCountdownTimer
:
10
---
!u!114
&529219308
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
529219305
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
d5a57f767e5e46a458fc5d3c628d0cbb
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
GlobalObjectIdHash
:
1225910293
InScenePlacedSourceGlobalObjectIdHash
:
0
DeferredDespawnTick
:
0
Ownership
:
1
AlwaysReplicateAsRoot
:
0
SynchronizeTransform
:
1
ActiveSceneSynchronization
:
0
SceneMigrationSynchronization
:
1
SpawnWithObservers
:
1
DontDestroyWithOwner
:
0
AutoObjectParentSync
:
1
SyncOwnerTransformWhenParented
:
1
AllowOwnerToParent
:
0
---
!u!114
&776996437
stripped
---
!u!114
&776996437
stripped
MonoBehaviour
:
MonoBehaviour
:
m_CorrespondingSourceObject
:
{
fileID
:
5737202750316455812
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_CorrespondingSourceObject
:
{
fileID
:
5737202750316455812
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
...
@@ -345,6 +379,17 @@ GameObject:
...
@@ -345,6 +379,17 @@ GameObject:
m_CorrespondingSourceObject
:
{
fileID
:
856385695763539090
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_CorrespondingSourceObject
:
{
fileID
:
856385695763539090
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
---
!u!114
&1216956540
stripped
MonoBehaviour
:
m_CorrespondingSourceObject
:
{
fileID
:
5516049037900670687
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
0
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
f4688fdb7df04437aeb418b961361dc5
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
---
!u!1001
&1233896419
---
!u!1001
&1233896419
PrefabInstance
:
PrefabInstance
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -403,6 +448,14 @@ PrefabInstance:
...
@@ -403,6 +448,14 @@ PrefabInstance:
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
7022544978650153336
,
guid
:
f6024856153867c408043e682ddcac1e
,
type
:
3
}
-
target
:
{
fileID
:
7022544978650153336
,
guid
:
f6024856153867c408043e682ddcac1e
,
type
:
3
}
propertyPath
:
NetworkConfig.ForceSamePrefabs
propertyPath
:
NetworkConfig.ForceSamePrefabs
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
7022544978650153336
,
guid
:
f6024856153867c408043e682ddcac1e
,
type
:
3
}
propertyPath
:
NetworkConfig.ConnectionApproval
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
7022544978650153336
,
guid
:
f6024856153867c408043e682ddcac1e
,
type
:
3
}
propertyPath
:
NetworkConfig.EnableSceneManagement
value
:
1
value
:
1
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
m_RemovedComponents
:
[]
m_RemovedComponents
:
[]
...
@@ -421,6 +474,16 @@ MonoBehaviour:
...
@@ -421,6 +474,16 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
2da0c512f12947e489f739169773d7ca
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
2da0c512f12947e489f739169773d7ca
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
---
!u!1
&1405885247
stripped
GameObject
:
m_CorrespondingSourceObject
:
{
fileID
:
8843338606411401250
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabAsset
:
{
fileID
:
0
}
---
!u!1
&1517982078
stripped
GameObject
:
m_CorrespondingSourceObject
:
{
fileID
:
4013928434927110539
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabAsset
:
{
fileID
:
0
}
---
!u!1
&1544296584
stripped
---
!u!1
&1544296584
stripped
GameObject
:
GameObject
:
m_CorrespondingSourceObject
:
{
fileID
:
7340525383002667710
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_CorrespondingSourceObject
:
{
fileID
:
7340525383002667710
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
...
@@ -437,6 +500,17 @@ MonoBehaviour:
...
@@ -437,6 +500,17 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
2da0c512f12947e489f739169773d7ca
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
2da0c512f12947e489f739169773d7ca
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
---
!u!114
&1593960351
stripped
MonoBehaviour
:
m_CorrespondingSourceObject
:
{
fileID
:
155486888234904070
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
0
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
f4688fdb7df04437aeb418b961361dc5
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
---
!u!114
&1643671676
stripped
---
!u!114
&1643671676
stripped
MonoBehaviour
:
MonoBehaviour
:
m_CorrespondingSourceObject
:
{
fileID
:
3534326167216121825
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_CorrespondingSourceObject
:
{
fileID
:
3534326167216121825
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
...
@@ -549,6 +623,11 @@ MonoBehaviour:
...
@@ -549,6 +623,11 @@ MonoBehaviour:
m_Script
:
{
fileID
:
11500000
,
guid
:
7b743370ac3e4ec2a1668f5455a8ef8a
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
7b743370ac3e4ec2a1668f5455a8ef8a
,
type
:
3
}
m_Name
:
m_Name
:
m_EditorClassIdentifier
:
m_EditorClassIdentifier
:
---
!u!1
&2138866768
stripped
GameObject
:
m_CorrespondingSourceObject
:
{
fileID
:
5941479522577420387
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
m_PrefabInstance
:
{
fileID
:
5176588386858245479
}
m_PrefabAsset
:
{
fileID
:
0
}
---
!u!1001
&5176588386858245479
---
!u!1001
&5176588386858245479
PrefabInstance
:
PrefabInstance
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -825,6 +904,10 @@ PrefabInstance:
...
@@ -825,6 +904,10 @@ PrefabInstance:
propertyPath
:
m_AnchoredPosition.y
propertyPath
:
m_AnchoredPosition.y
value
:
0
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
5941479522577420387
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
propertyPath
:
m_IsActive
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
6271467599557108680
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
-
target
:
{
fileID
:
6271467599557108680
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
propertyPath
:
m_AnchorMax.y
propertyPath
:
m_AnchorMax.y
value
:
0
value
:
0
...
@@ -921,6 +1004,14 @@ PrefabInstance:
...
@@ -921,6 +1004,14 @@ PrefabInstance:
propertyPath
:
m_SizeDelta.y
propertyPath
:
m_SizeDelta.y
value
:
0
value
:
0
objectReference
:
{
fileID
:
0
}
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
8843338606411401250
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
propertyPath
:
m_Name
value
:
WaitingPlayerPanel
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
8843338606411401250
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
propertyPath
:
m_IsActive
value
:
0
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
8875326252354947531
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
-
target
:
{
fileID
:
8875326252354947531
,
guid
:
72327351aa28fbe4fb4c16c3d17e4de5
,
type
:
3
}
propertyPath
:
m_Pivot.x
propertyPath
:
m_Pivot.x
value
:
0
value
:
0
...
@@ -1010,8 +1101,8 @@ PrefabInstance:
...
@@ -1010,8 +1101,8 @@ PrefabInstance:
SceneRoots
:
SceneRoots
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
m_Roots
:
m_Roots
:
-
{
fileID
:
529219306
}
-
{
fileID
:
321845824
}
-
{
fileID
:
321845824
}
-
{
fileID
:
1670129068
}
-
{
fileID
:
529219306
}
-
{
fileID
:
1233896419
}
-
{
fileID
:
1233896419
}
-
{
fileID
:
1670129068
}
-
{
fileID
:
5176588386858245479
}
-
{
fileID
:
5176588386858245479
}
Assets/_Game/Scenes/SC.unity
View file @
39dc1546
...
@@ -256,7 +256,7 @@ GameObject:
...
@@ -256,7 +256,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
m_IsActive
:
0
---
!u!4
&863308619
---
!u!4
&863308619
Transform
:
Transform
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
@@ -279,7 +279,7 @@ MonoBehaviour:
...
@@ -279,7 +279,7 @@ MonoBehaviour:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
863308618
}
m_GameObject
:
{
fileID
:
863308618
}
m_Enabled
:
1
m_Enabled
:
0
m_EditorHideFlags
:
0
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
9484dda6623b48b4999b76e13e6dd9cc
,
type
:
3
}
m_Script
:
{
fileID
:
11500000
,
guid
:
9484dda6623b48b4999b76e13e6dd9cc
,
type
:
3
}
m_Name
:
m_Name
:
...
...
ProjectSettings/ProjectSettings.asset
View file @
39dc1546
...
@@ -82,7 +82,7 @@ PlayerSettings:
...
@@ -82,7 +82,7 @@ PlayerSettings:
androidApplicationEntry
:
2
androidApplicationEntry
:
2
defaultIsNativeResolution
:
1
defaultIsNativeResolution
:
1
macRetinaSupport
:
1
macRetinaSupport
:
1
runInBackground
:
0
runInBackground
:
1
muteOtherAudioSources
:
0
muteOtherAudioSources
:
0
Prepare IOS For Recording
:
0
Prepare IOS For Recording
:
0
Force IOS Speakers When Recording
:
0
Force IOS Speakers When Recording
:
0
...
...
ProjectSettings/QualitySettings.asset
View file @
39dc1546
...
@@ -4,63 +4,9 @@
...
@@ -4,63 +4,9 @@
QualitySettings
:
QualitySettings
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
serializedVersion
:
5
serializedVersion
:
5
m_CurrentQuality
:
1
m_CurrentQuality
:
0
m_QualitySettings
:
m_QualitySettings
:
-
serializedVersion
:
4
-
serializedVersion
:
4
name
:
Mobile
pixelLightCount
:
2
shadows
:
2
shadowResolution
:
1
shadowProjection
:
1
shadowCascades
:
2
shadowDistance
:
40
shadowNearPlaneOffset
:
3
shadowCascade2Split
:
0.33333334
shadowCascade4Split
:
{
x
:
0.06666667
,
y
:
0.2
,
z
:
0.46666667
}
shadowmaskMode
:
0
skinWeights
:
2
globalTextureMipmapLimit
:
0
textureMipmapLimitSettings
:
[]
anisotropicTextures
:
1
antiAliasing
:
0
softParticles
:
0
softVegetation
:
1
realtimeReflectionProbes
:
0
billboardsFaceCameraPosition
:
1
useLegacyDetailDistribution
:
1
adaptiveVsync
:
0
vSyncCount
:
0
realtimeGICPUUsage
:
100
adaptiveVsyncExtraA
:
0
adaptiveVsyncExtraB
:
0
lodBias
:
1
maximumLODLevel
:
0
enableLODCrossFade
:
1
streamingMipmapsActive
:
0
streamingMipmapsAddAllCameras
:
1
streamingMipmapsMemoryBudget
:
512
streamingMipmapsRenderersPerFrame
:
512
streamingMipmapsMaxLevelReduction
:
2
streamingMipmapsMaxFileIORequests
:
1024
particleRaycastBudget
:
256
asyncUploadTimeSlice
:
2
asyncUploadBufferSize
:
16
asyncUploadPersistentBuffer
:
1
resolutionScalingFixedDPIFactor
:
1
customRenderPipeline
:
{
fileID
:
11400000
,
guid
:
5e6cbd92db86f4b18aec3ed561671858
,
type
:
2
}
terrainQualityOverrides
:
0
terrainPixelError
:
1
terrainDetailDensityScale
:
1
terrainBasemapDistance
:
1000
terrainDetailDistance
:
80
terrainTreeDistance
:
5000
terrainBillboardStart
:
50
terrainFadeLength
:
5
terrainMaxTrees
:
50
excludedTargetPlatforms
:
-
Standalone
-
serializedVersion
:
4
name
:
PC
name
:
PC
pixelLightCount
:
2
pixelLightCount
:
2
shadows
:
2
shadows
:
2
...
@@ -101,8 +47,7 @@ QualitySettings:
...
@@ -101,8 +47,7 @@ QualitySettings:
asyncUploadBufferSize
:
16
asyncUploadBufferSize
:
16
asyncUploadPersistentBuffer
:
1
asyncUploadPersistentBuffer
:
1
resolutionScalingFixedDPIFactor
:
1
resolutionScalingFixedDPIFactor
:
1
customRenderPipeline
:
{
fileID
:
11400000
,
guid
:
4b83569d67af61e458304325a23e5dfd
,
customRenderPipeline
:
{
fileID
:
11400000
,
guid
:
4b83569d67af61e458304325a23e5dfd
,
type
:
2
}
type
:
2
}
terrainQualityOverrides
:
0
terrainQualityOverrides
:
0
terrainPixelError
:
1
terrainPixelError
:
1
terrainDetailDensityScale
:
1
terrainDetailDensityScale
:
1
...
@@ -116,19 +61,4 @@ QualitySettings:
...
@@ -116,19 +61,4 @@ QualitySettings:
-
Android
-
Android
-
iPhone
-
iPhone
m_TextureMipmapLimitGroupNames
:
[]
m_TextureMipmapLimitGroupNames
:
[]
m_PerPlatformDefaultQuality
:
m_PerPlatformDefaultQuality
:
{}
Android
:
0
GameCoreScarlett
:
1
GameCoreXboxOne
:
1
Lumin
:
0
Nintendo Switch
:
1
PS4
:
1
PS5
:
1
Server
:
0
Stadia
:
0
Standalone
:
1
WebGL
:
0
Windows Store Apps
:
0
XboxOne
:
0
iPhone
:
0
tvOS
:
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