コード例 #1
0
 /// <summary>
 /// Adds Dust to Inventory
 /// </summary>
 /// <param name="target">Inventory to Add to</param>
 /// <returns>True if adding was successful</returns>
 protected override bool OnCollect(PlayerInventory target)
 {
     target.AddDust(amount);
     return(true);
 }