Esempio n. 1
0
    //Création de la popup
    void BulleCreation()
    {
        Transform transClone = this.transform;

        transClone.localScale = new Vector3(2, 2, 2);
        Bulle clone = (Bulle)Instantiate(bulleCree, this.transform);

        clone.timeoutDestructor = 2.5f;
        clone.player            = this.transform;

        int rand = UnityEngine.Random.Range(0, (int)Declencheurs.CALL);

        clone.SetText(TextResolver((Declencheurs)rand));
    }
Esempio n. 2
0
 private void FRM_EditerMetadonnees_Load(object sender, EventArgs e)
 {
     Bulle.SetToolTip(BT_AjoutBook, "Ajout livre");
     Bulle.SetToolTip(BT_SuppBook, "Supprimer livre");
     Bulle.SetToolTip(BT_EditBook, "Modifier les métadonnées");
 }