mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fixed portal label
This commit is contained in:
parent
990bda659e
commit
40d551fe2f
@ -29,7 +29,7 @@ public override void OnStartServer()
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public override void OnStartClient()
|
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
|
// Note that I have created layers called Player(8) and Portal(9) and set them
|
||||||
|
Loading…
Reference in New Issue
Block a user