mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fixed portal label
This commit is contained in:
parent
990bda659e
commit
40d551fe2f
@ -29,7 +29,7 @@ public override void OnStartServer()
|
||||
/// </summary>
|
||||
public override void OnStartClient()
|
||||
{
|
||||
label.text = SceneManager.GetSceneByPath(destinationScene).name;
|
||||
label.text = System.IO.Path.GetFileNameWithoutExtension(destinationScene);
|
||||
}
|
||||
|
||||
// Note that I have created layers called Player(8) and Portal(9) and set them
|
||||
|
Loading…
Reference in New Issue
Block a user