Class InventoryContainerBehaviour
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
public class InventoryContainerBehaviour : MonoBehaviour, IEnumerable<ItemBehaviour>, IEnumerable
- Inheritance
-
objectInventoryContainerBehaviour
- Implements
Fields
Properties
Methods
- FindFirstItem(Predicate<ItemBehaviour>)
Zero-allocation method to find the first item matching a predicate. Returns the first matching item or null if none found.
- ForEachItem(Action<ItemBehaviour>)
Zero-allocation alternative to AllItems enumeration. Calls the provided action for each item in the inventory, including nested containers.