예제 #1
0
 // Use this for initialization
 void Start()
 {
     tempID     = Random.Range(0, 151);
     attackData = GameObject.FindGameObjectWithTag("AttackData").GetComponent <PokemonAttacks>();
     pokeDex    = GameObject.FindGameObjectWithTag("Library").GetComponent <PokemonLibrary>();
     gif        = this.GetComponent <GifRenderer>();
     gui        = GameObject.FindGameObjectWithTag("GUIScripts").GetComponent <GUIScript>();
     tc         = GameObject.FindGameObjectWithTag("TurnController").GetComponent <TurnController>();
     Init();
 }
 // Use this for initialization
 void Start()
 {
     tempID = Random.Range(0, 151);
     attackData = GameObject.FindGameObjectWithTag("AttackData").GetComponent<PokemonAttacks>();
     pokeDex = GameObject.FindGameObjectWithTag("Library").GetComponent<PokemonLibrary>();
     gif = this.GetComponent<GifRenderer>();
     gui = GameObject.FindGameObjectWithTag("GUIScripts").GetComponent<GUIScript>();
     tc = GameObject.FindGameObjectWithTag("TurnController").GetComponent<TurnController>();
     Init();
 }