public TriggerParam(TriggerTarget target, IItem specifiedTargetItem, string key, ParameterType type, TriggerValue value)
 {
     Target = target;
     SpecifiedTargetItem = specifiedTargetItem;
     Key   = key;
     Type  = type;
     Value = value;
 }
Exemple #2
0
 public TriggerEventArgs(ItemTriggerTarget target, IItem specifiedTargetItem, GameObject collidedObject, string key, ParameterType type, TriggerValue value)
 {
     Target = target;
     SpecifiedTargetItem = specifiedTargetItem;
     CollidedObject      = collidedObject;
     Key   = key;
     Type  = type;
     Value = value;
 }