示例#1
0
 public void AddText(textToScreen value)
 {
     ui.Add(value);
 }
 public override void OnTriggerExit(Actor triggeringActor)
 {
     textToScreen p = new textToScreen(text, textPosition, color);
         Stage.ActiveStage.GetQB<TriggerQB>().RemoveText(p);
 }
示例#3
0
 public void RemoveText(textToScreen value)
 {
     List<textToScreen> temp = new List<textToScreen>(ui);
     foreach (textToScreen v in temp)
     {
         if (v.text == value.text)
             ui.Remove(v);
     }
 }