private bool isShow;          //提示消息框是否显示

    void Awake()
    {
        GameObject numLabel = GameObject.Find("UI Root/Camera/Anchor-Center/BloodSaleNumPanel/NumSprite/Label");

        buyNum = numLabel.gameObject.GetComponent <NumLabel>();
        GameObject blood = GameObject.Find("UI Root/Camera/Anchor-TopRight/Panel/Blood");

        bloodNum = blood.gameObject.GetComponent <BloodNum>();
        GameObject coin = GameObject.Find("UI Root/Camera/Anchor-TopRight/Panel/Coins");

        coinsNumber = coin.gameObject.GetComponent <CoinsNum>();
    }
    private bool isShow;          //提示消息框是否显示

    void Awake()
    {
        GameObject numLabel = GameObject.Find("UI Root/Camera/Anchor-Center/PowerSaleNumPanel/NumSprite/Label");

        buyNum = numLabel.gameObject.GetComponent <NumLabel>();
        GameObject power = GameObject.Find("UI Root/Camera/Anchor-TopRight/Panel/Power");

        powerNum = power.gameObject.GetComponent <PowerNum>();
        GameObject coin = GameObject.Find("UI Root/Camera/Anchor-TopRight/Panel/Coins");

        coinsNumber = coin.gameObject.GetComponent <CoinsNum>();
    }
    void Awake()
    {
        GameObject coinsNumUI = GameObject.Find("UI Root/Camera/Anchor-TopRight/Panel/Coins");

        cn = coinsNumUI.gameObject.GetComponent <CoinsNum>();
    }