Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Tutorial - Character Selection from a Lobby

Discussion in 'Community Learning & Teaching' started by JillHoff, Jul 16, 2017.

  1. JillHoff

    JillHoff

    Joined:
    Jun 5, 2015
    Posts:
    4
    SimonDarksideJ, Nateply and Zeradias like this.
  2. Zeradias

    Zeradias

    Joined:
    Dec 13, 2016
    Posts:
    3
    I was just looking for it yesterday, and when I woke up and came looking for it, I found it, thank you and congratulations!
     
    JillHoff likes this.
  3. Goldiedog123

    Goldiedog123

    Joined:
    Feb 28, 2017
    Posts:
    12
    Idea how to use that little colour on the side and have that determine the prefab spawned, so other players can see what other players are going to be using?
     
  4. JillHoff

    JillHoff

    Joined:
    Jun 5, 2015
    Posts:
    4
    Good idea! I think I would do it by making the avatarIndex into a syncVar with a hook that calls a method to update the chosen avatar button with the framed version of the avatar sprite. Right now I just have the sprite swap as part of the button interaction - but I could do it in code and sync it so all players can see the change.
     
  5. Goldiedog123

    Goldiedog123

    Joined:
    Feb 28, 2017
    Posts:
    12
    yea im just trying to make it so players can see what other players are playing