public Networking.NetworkLobbyPlayer lobbyPlayerPrefab ;

Descripción

This is the prefab of the player to be created in the LobbyScene.

This prefab must have a NetworkLobbyPlayer component on it.

In the lobby scene, this will be the active player object, but in other scenes while the game is running, this will be replaced by a player object created from the GamePlayerPrefab. But once returned to the lobby scene this will again become the active player object.

This can be used to store user data that persists for the lifetime of the session, such as color choices or weapon choices.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961