/*-------------------------------------------------------------------------------------
--- 创建人:
--- 描 述:
--- 创建时间: 2022年8月10日
-------------------------------------------------------------------------------------*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Game;
using Axibug.Event;
using System;
using TMPro;
///
/// xx 功能界面
///
public class UIInputNumChange : MonoBehaviour
{
//UIAutoBuild_CtrlDefine
//public InputField iptNumShow;
//public Button btnAdd;
//public Button btnRedece;
//UIAutoBuild_CtrlDefine
public int mNum { get; private set; } = 0;
public int mMaxNum = -1;
public int mMinNum = -1;
private bool mStateAdd = false;
private bool mStateReduce = false;
private float mBeginExp;
private float mEndExp;
private float mTickTimeSpeed;
private float mBeginExp2;
private float mEndExp2;
private float mTickTimeSpeed2;
public TMP_InputField IptNumShow;
private UILongClickButton mAddBtn;
private UILongClickButton mReduceBtn;
///
/// 抛出数值修改事件,父级界面联动用
///
[HideInInspector]
public Action ChangeEvent;
bool bAwake = false;
public void Awake()
{
////UIAutoBuild_CtrlBind
//Transform tf = transform;
//iptNumShow = tf.Find("IptNumShow").GetComponent();
//btnAdd = tf.Find("btnAdd").GetComponent