인벤토리 기능 추가
This commit is contained in:
@@ -50,7 +50,7 @@ public class UI_Button : UI_Popup
|
||||
GetButton((int)Buttons.PointButton).gameObject.AddUIEvent(OnButtonClicked);
|
||||
|
||||
GameObject go = GetImage((int)Images.ItemIcon).gameObject;
|
||||
AddUIEvent(go, (PointerEventData data) => { go.transform.position = data.position; }, Define.UIEvent.Drag);
|
||||
BindEvent(go, (PointerEventData data) => { go.transform.position = data.position; }, Define.UIEvent.Drag);
|
||||
}
|
||||
|
||||
private int _score = 0;
|
||||
|
||||
Reference in New Issue
Block a user