public void SetWho(GameObject obj_who) { objWho = obj_who; backpackManager = objWho.GetComponent <BackpackManager>(); dressingManager = objWho.GetComponent <DressingManager>(); RefreshBackpackItems(backpackManager.GetItems(enumItemKind.飾)); DisplayWhoMoney(); }
public void btnItemKindClick(int kind) { enumItemKind item_kind = (enumItemKind)kind; RefreshBackpackItems(backpackManager.GetItems(item_kind)); }