Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Documentation for ClientScene.RegisterPrefab

Discussion in 'Connected Games' started by lejean, Jan 9, 2016.

  1. lejean

    lejean

    Joined:
    Jul 4, 2013
    Posts:
    155
    scourgey likes this.
  2. hexagonius

    hexagonius

    Joined:
    Mar 26, 2013
    Posts:
    95
    - NetworkServer is not a singleton, use it as is without instance
    - NetworkServer.Listen()
    - ClientScene.Ready()
    - There's nothing close to similar with this. The closest thing I could find is registering MsgType.Ready on the client via
    Code (CSharp):
    1. NetworkManager.client.RegisterHandler(MsgType.Ready, ReadyMessage);
    2.  
    3. public void ReadyMessage(NetworkMessage networkMessage)
    4. {
    5.    Debug.Log("Client Ready! ");
    6. }
     
  3. lejean

    lejean

    Joined:
    Jul 4, 2013
    Posts:
    155
    Post is 2 years old mate, I probably figured it out :p
     
  4. hexagonius

    hexagonius

    Joined:
    Mar 26, 2013
    Posts:
    95
    Yeah, I know, but I was frustrated finding only incomplete posts and questions about the topic while I was looking for answers that I just wanted to relieve myself this way :)