Exemplo n.º 1
0
        /// <summary>
        /// 获取奖励
        /// </summary>
        /// <param name="reward">Reward.</param>
        public void ObtainReward(Item reward)
        {
            // 添加物品
            Player.mainPlayer.AddItem(reward);

            // 显示物品简单信息面板
            expUICtr.SetUpSimpleItemDetail(reward);

            // 更新底部bar
            expUICtr.UpdateBottomBar();
        }