Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Making A Team System In Photon And C#

Discussion in 'Scripting' started by TheSloth010, Aug 15, 2016.

  1. TheSloth010

    TheSloth010

    Joined:
    Aug 15, 2016
    Posts:
    1
    Hello All,

    Im Am now developing a fps game with a couple of people and we are now stumped on a certain part of our game,

    I have to prefabs and i am at the stage of instantiating the objects into the game the code right now consists of joining the photon lobby and then joining a match is there a way to make a auto team balancer so there is 6 people on one team and 6 on another each player would only have one life,

    One of the prefabs is a red capsule
    and the other is a blue capsule

    any help is appreciated since i am horrible at c# since i am the 3d designer but i am posting this for my coder!
     
  2. traderain

    traderain

    Joined:
    Jul 7, 2014
    Posts:
    108
    Watch this: