private void SetupItemPutter() { itemPutter = GetComponent(typeof(IItemPutter)) as IItemPutter; if (itemPutter == null) throw new MissingComponentException("This object requires a component which implements " + typeof(IItemPutter) + " attached."); }
private void SetupItemPutter() { itemPutter = GetComponent(typeof(IItemPutter)) as IItemPutter; if (itemPutter == null) { throw new MissingComponentException("This object requires a component which implements " + typeof(IItemPutter) + " attached."); } }