예제 #1
0
 public void btn_TroChoiMoi()
 {
     LoadInfomation.LoadAllInfomation();
     if (GameInfomation.Playername == "" && GameInfomation.Playerage == 0)
     {
         Input_NewGame_Panel.SetActive(true);
     }
     else
     {
         open_PopUp_TroChoiMoi_Panel();
     }
 }
예제 #2
0
 private void Awake()
 {
     LoadInfomation.LoadAllInfomation();
     if (GameInfomation.Playername == "" && GameInfomation.Playerage == 0)
     {
         GameObject btnTiepTuc = GameObject.Find("btn_TiepTuc");
         if (btnTiepTuc.activeSelf)
         {
             btnTiepTuc.SetActive(false);
         }
     }
 }
예제 #3
0
 // 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);
 }
예제 #4
0
 public void btn_Cuahang()
 {
     LoadInfomation.LoadAllInfomation();
     Debug.Log(GameInfomation.Playername);
     Debug.Log(GameInfomation.Playerage);
 }