Example #1
0
 void Start()
 {
     Debug.Log("START");
     moteur = GameObject.FindGameObjectWithTag("moteurJeu").GetComponent <moteurJeu>();
     xMin   = moteur.xMinFxShield;
     xMax   = moteur.xMaxFxShield;
     zMin   = moteur.zMinFxShield;
     zMax   = moteur.zMaxFxShield;
     anim   = GetComponent <Animator>();
 }
 void Start()
 {
     moteur = GameObject.FindGameObjectWithTag("moteurJeu").GetComponent <moteurJeu>();
 }
Example #3
0
 void Start()
 {
     moteur   = GameObject.FindGameObjectWithTag("moteurJeu").transform.GetComponent <moteurJeu>();
     cooldown = gameObject.transform.GetChild(1).gameObject;
     StartCoroutine(loadingPlayers());
 }