Ejemplo n.º 1
0
 public void HidePreview()
 {
     UIBG.SetActive(true);
     Cam3D.SetActive(false);
     PlayerPreview.Hide(false);
     PlayerSelection.Show(false);
 }
Ejemplo n.º 2
0
    public void ShowPreview()
    {
        UIBG.SetActive(false);
        Cam3D.SetActive(true);
        PlayerPreview.Show(false);
        PlayerSelection.Hide(false);

        PreviewManager.instance._TeamData.PlayerList.Clear();
        foreach (PlayerData PD in TeamManager.instance.MyList)
        {
            PreviewManager.instance._TeamData.PlayerList.Add(PD);
        }
        PreviewManager.instance.AssignPlayers();
    }