public void SetData(ReelModel aModel, float value = 0, float finalY = 0) { lReelModel = aModel; if (PlayerDataController.Controller.currentStripModel.reelstrip.Count > 0) { Debug.Log(value); lLastScrollValue = value; finalPosY = finalY; Invoke(nameof(SetScrollValue), 0.01f); } else { lMainTween = DOTween.To(() => mScrollRect.verticalScrollbar.value, x => mScrollRect.verticalScrollbar.value = x, 0f, 0.2f); lMainTween.OnComplete(OnComplete); } }
public JsonResult getReel(string EquipID) { var result = ReelModel.SelectReel(EquipID); return(Json(result, JsonRequestBehavior.AllowGet)); }
public static ReelObject GetReel(string Equipment) { var reel = ReelModel.SelectReel(Equipment); return(reel); }
public JsonResult getReel(string equipment) { var res = ReelModel.SelectReel(equipment); return(Json(res, JsonRequestBehavior.AllowGet)); }