// Start is called before the first frame update
 void Start()
 {
     itemdata     = ItemDataBase.item_base;
     defense_text = DefenseTextGetScript.defense_text;
     power_text   = PowerTextGetScript.power_text;
     center_get   = Center_get_script.center_script;
     if (power_text != null)
     {
         TextSetStatus(player_power.ToString(), player_defense.ToString());
     }
     retry_game = retryGame.retry_game;
     SliderChange(HP);
     SceneManager.sceneLoaded += SceneLoaded;
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     retry_game = this;
 }