mirror of
https://github.com/zoriya/Goulag-Prototype.git
synced 2025-12-06 06:36:29 +00:00
Renoming lobby elements.
This commit is contained in:
@@ -140,7 +140,7 @@ MonoBehaviour:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1638233282939802}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3e70fe696fea60d4f8e268e58a1e361f, type: 3}
|
||||
m_Name:
|
||||
@@ -162,7 +162,7 @@ SpriteRenderer:
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 1638233282939802}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
|
||||
@@ -268,7 +268,11 @@ MonoBehaviour:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_text: Press any buttons to join.
|
||||
m_text: 'Press A or Space to join
|
||||
|
||||
Press L1 + R1 + B or Escape to leave
|
||||
|
||||
Press L1 + R2 + A or Enter to be ready'
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 08041153e7396f74f910df44217552c2, type: 2}
|
||||
m_sharedMaterial: {fileID: 21174226033013872, guid: 08041153e7396f74f910df44217552c2,
|
||||
@@ -337,12 +341,12 @@ MonoBehaviour:
|
||||
m_margin: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_textInfo:
|
||||
textComponent: {fileID: 0}
|
||||
characterCount: 26
|
||||
characterCount: 100
|
||||
spriteCount: 0
|
||||
spaceCount: 4
|
||||
wordCount: 5
|
||||
spaceCount: 26
|
||||
wordCount: 23
|
||||
linkCount: 0
|
||||
lineCount: 1
|
||||
lineCount: 3
|
||||
pageCount: 1
|
||||
materialCount: 1
|
||||
m_havePropertiesChanged: 0
|
||||
|
||||
@@ -320,8 +320,13 @@ public class NetworkManager : NetworkLobbyManager
|
||||
}
|
||||
|
||||
pController.setuped = true;
|
||||
|
||||
if (!gameIsRunning)
|
||||
{
|
||||
pController.transform.position = new Vector3(player * 2, 2, 0);
|
||||
pController.transform.GetComponent<SpriteRenderer>().enabled = true;
|
||||
pController.transform.GetComponent<PlayerController>().enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
GameObject spawnPoint = GameObject.Find("SpawnPoint(Clone)");
|
||||
|
||||
Reference in New Issue
Block a user