void Awake() { //Pour changer le sprite de l'image ImageAppelSpr = ImageAppel.GetComponent <Image>(); //Les scripts à importer pnc = PointNclickManager.GetComponent <PointNclickManager>(); vkb = ClavierVirtuel.GetComponent <VirtualKeyboard_1>(); bdd = BoiteDeDialogueManager.GetComponent <BoiteDeDialogue>(); //Réinitialiser la recherche à chaque démarrage de Scarlett affichageTextScarlett.text = ""; }
void Awake() { //Pour qu'il n'y est pas 2 Inventaire et qu'il soit conservé if (invManager == null) { DontDestroyOnLoad(gameObject); invManager = this; } else if (invManager != null) { Destroy(gameObject); } //Si cela ne marche pas mettre pnc = GameObject.FindOfType<PointNclickManager>() pnc = PointNClickManagers.GetComponent <PointNclickManager>(); }
void Awake() { //Importer les scripts pnc = PointNclickManager.GetComponent <PointNclickManager>(); dico = DicoManager.GetComponent <Dictionnaire>(); }
void Awake() { //Importer scripts pcm = PointNclickManager.GetComponent <PointNclickManager>(); }