Exemple #1
0
 // Use this for initialization
 void Start()
 {
     roullete   = GameObject.Find("Roullete");
     roulleteP  = roullete.GetComponent <RoulletePos> ();
     roulleteL  = GameObject.Find("RuletaNiveles");
     roulletePL = roulleteL.GetComponent <RoulletePos> ();
     cMl_Script = GameObject.Find("CM_level").GetComponent <CMl_Script>();
     sonidos    = GameObject.FindGameObjectWithTag("reproductor").GetComponent <ReproductorSonidos>();
 }
Exemple #2
0
 void Awake()
 {
     CM_Level    = GameObject.Find("CM_level");
     cMl_Script  = CM_Level.GetComponent <CMl_Script>();
     RoulletePos = GameObject.Find("Roullete").GetComponent <RoulletePos>();
 }
 void Awake()
 {
     CM_Level   = GameObject.Find("CM_level");
     cMl_Script = CM_Level.GetComponent <CMl_Script>();
 }