Example #1
0
 // Use this for initialization
 void Start()
 {
     m_Etincelle = gameObject.transform.FindChild("Etincelles").gameObject;
     m_fTimerEtincelle = 0.0f;
     m_Game = GameObject.Find("_Game").GetComponent<CGame>();
     m_Etincelle.SetActiveRecursively(false);
     m_Etincelle.active = true;
     m_bSoundLaunched = false;
     m_Game.GetSoundEngine().setSwitch("Soudure","Aire", gameObject);
     m_bLost = false;
     m_fSoudureRestante = m_Game.m_fQuantiteSoudureDepart-1;
     m_nNbChargeurs = 0;
 }