예제 #1
0
 public static void Trigger(PickableItem pickedItem)
 {
     e.PickedItem = pickedItem;
     MMEventManager.TriggerEvent(e);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MoreMountains.CorgiEngine.PickableItemEvent"/> struct.
 /// </summary>
 /// <param name="pickedItem">Picked item.</param>
 public PickableItemEvent(PickableItem pickedItem)
 {
     PickedItem = pickedItem;
 }