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>(); }
void Start() { moteur = GameObject.FindGameObjectWithTag("moteurJeu").transform.GetComponent <moteurJeu>(); cooldown = gameObject.transform.GetChild(1).gameObject; StartCoroutine(loadingPlayers()); }