コード例 #1
0
        public override void SceneLoadLocalDone(string map)
        {
            // ui
            GameUI.Instantiate();

            // camera
            PlayerCamera.Instantiate();
        }
コード例 #2
0
        public override void SceneLoadLocalBegin(string scene, IProtocolToken token)
        {
            BoltLog.Info("SceneLoadLocalBegin-Token: {0}", token);
            // ui
            GameUI.Instantiate();

            // camera
            PlayerCamera.Instantiate();
        }
コード例 #3
0
        public override void SceneLoadLocalDone(string map)
        {
            // ui
            GameUI.Instantiate();

            // camera
            PlayerCamera.Instantiate();

            if (BoltNetwork.isServer)
            {
                A2SManager.SetPlayerInfo(null, "SERVER");

                A2SManager.UpdateServerInfo(
                    gameName: "Bolt Advanced Tutorial",
                    serverName: "Photon Bolt Server",
                    map: map,
                    version: "1.0",
                    serverType: ServerType.Listen,
                    visibility: Visibility.PUBLIC
                    );
            }
        }