Esempio n. 1
0
    // Use this for initialization
    void Awake()
    {
        if (m_Instance == null)
        {
            DontDestroyOnLoad(gameObject);
            m_Instance = this;
            m_First    = Player.PLAYER.P1;
            m_Second   = Player.PLAYER.P2;
            m_Third    = Player.PLAYER.P3;
            m_Fourth   = Player.PLAYER.P4;

            m_PickRewardText.text = "Choose reward: " + m_First.ToString();

            LoadRewards();
        }
        else
        {
            Destroy(gameObject);
        }
    }
Esempio n. 2
0
 public Team(Player.PLAYER _a, Player.PLAYER _b)
 {
     a = _a;
     b = _b;
 }