Beispiel #1
0
 void OnGUI()
 {
     if (activeTarget && targetedPokemon != null)
     {
         pokemonWild          = targetedPokemon.GetComponent <PokemonWild>();
         pokemon              = pokemonWild.pokemonObj.pokemon;
         battleGUI.pokemonObj = pokemonWild.pokemonObj;
         //battleGUI.ToggleHud();
         battleGUI.EnemyTargetWindow(pokemon);
     }
 }