예제 #1
0
 public void Trigger(Informations informations, List <Tags> tags)
 {
     if (tags.Contains(Tags.Attack))
     {
         Debug.Log("I was hit, I took " + informations.Take <byte>("damage") + " of damage");
     }
     if (tags.Contains(Tags.Use))
     {
         EventsManager.CallEvent(EventAction.SendHealth, 0.5f);
     }
 }