// 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>(); }
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>(); }