Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using ThiefGame;
- public ButtonScript : MonoBehavior
- {
- public ListScript Owner;
- public string ID;
- public ButtonScript(ListScript owner, string id)
- {
- Owner = owner;
- ID = id;
- }
- public void RemoveItem()
- {
- Inventory.RemoveItem(ID);
- Owner.FillList();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement