Hi guys, I'm using PUN.
To spwaning different characters I'm using the class in the documentation like this.
<< GlobalControl.MyAvatarModel is a String variables set in the prev scene.
It works and I can load different dynamic characters, but the problem is that the two users don't see different characters but they see the same characters that they have also selected for the opponent ...
To spwaning different characters I'm using the class in the documentation like this.
C#:
using UnityEngine;
using Opsive.UltimateCharacterController.AddOns.Multiplayer.PhotonPun.Game;
using Photon.Realtime;
public class MySpawnManager : SpawnManagerBase
{
protected override GameObject GetCharacterPrefab(Player newPlayer)
{
GameObject m_Character = Resources.Load<GameObject>(GlobalControl.MyAvatarModel);
return m_Character;
}
}
<< GlobalControl.MyAvatarModel is a String variables set in the prev scene.
It works and I can load different dynamic characters, but the problem is that the two users don't see different characters but they see the same characters that they have also selected for the opponent ...