Exemplo n.º 1
0
 public override void OnInteract(Character character)
 {
     if (BinBox.IsVisible())
     {
         BinBox.Hide();
         character.Behavior.setFrozen(false, true);
     }
     else
     {
         //myText = ("Poubelle green");
         BinBox.Show(myText);
         character.Behavior.setFrozen(true, true);
     }
 }
Exemplo n.º 2
0
 void Awake()
 {
     Instance    = this;
     dialogFrame = GetComponent <Image>();
     dialogText  = GetComponentInChildren <Text>();
 }