public void btn_TroChoiMoi() { LoadInfomation.LoadAllInfomation(); if (GameInfomation.Playername == "" && GameInfomation.Playerage == 0) { Input_NewGame_Panel.SetActive(true); } else { open_PopUp_TroChoiMoi_Panel(); } }
private void Awake() { LoadInfomation.LoadAllInfomation(); if (GameInfomation.Playername == "" && GameInfomation.Playerage == 0) { GameObject btnTiepTuc = GameObject.Find("btn_TiepTuc"); if (btnTiepTuc.activeSelf) { btnTiepTuc.SetActive(false); } } }
// Use this for initialization void Start() { LoadInfomation.LoadAllInformation(); Debug.Log("Player Name: " + GameInformation.PlayerName); //Debug.Log("Player Class: " + GameInformation.PlayerClass.CharacterClassName); Debug.Log("Player Level: " + GameInformation.PlayerLevel); Debug.Log("Player Stamina: " + GameInformation.Stamina); Debug.Log("Player Endurance " + GameInformation.Endurance); Debug.Log("Player Intellect: " + GameInformation.Intellect); Debug.Log("Player Strength: " + GameInformation.Strength); Debug.Log("Player Agility " + GameInformation.Agility); Debug.Log("Player Resistance: " + GameInformation.Resistance); Debug.Log("Player Mastery " + GameInformation.Mastery); Debug.Log("Player Gold: " + GameInformation.Gold); }
public void btn_Cuahang() { LoadInfomation.LoadAllInfomation(); Debug.Log(GameInfomation.Playername); Debug.Log(GameInfomation.Playerage); }