private void GridPointExit(object o, BagGridTouchArgs arg) { if (PopupRoot != null) { PopupRoot.gameObject.SetActive(false); } }
public void PointExit() { Debug.Log("point exit"); if (PointExitEvent != null) { BagGridTouchArgs arg = new BagGridTouchArgs(); arg.controller = this; PointExitEvent(this, arg); } }
public void PointUp() { Debug.Log("point up"); if (PointUpEvent != null) { BagGridTouchArgs arg = new BagGridTouchArgs(); arg.controller = this; PointUpEvent(this, arg); } ImageRest(); }
public void PointDown() { Debug.Log("point down"); if (PointDownEvent != null) { BagGridTouchArgs arg = new BagGridTouchArgs(); arg.controller = this; PointDownEvent(this, arg); } if (res != null) { ImageAlpha_50(); } }
private void GridPointEnter(object o, BagGridTouchArgs arg) { GridDrager.GridPointEnter(arg); var res = arg.controller.GetRes(); if (res == null) { return; } PopupRoot.gameObject.SetActive(true); var rectTS = arg.controller.RectTS; PopupRoot.position = rectTS.position + new Vector3(rectTS.rect.width, 0, 0); PopupText.text = arg.controller.GetRes().Info(); }
private void GridPointUp(object o, BagGridTouchArgs arg) { GridDrager.GridPointUp(arg); }