So, the thing is: after a time, the players that don't choose a hero to play should receive a random hero. The heroes cannot be repeated. I use as exemple the DemoPickup and I created my on class:
PUN - Choose random Hero for player
Code (CSharp):
- usingSystem;
- using System;
- using System.Collections.Generic;
- using ExitGames.Client.Photon;
- using UnityEngine;
- {
- public enum Hero : byte
- {
- none,
- Cube,...