private void _onItemDroped() { SolaEngine engine = SolaEngine.getInstance(); BattleMgr bMgr = (BattleMgr)engine.getMgr(typeof(BattleMgr)); int gold = bMgr.getGold(); int paper = bMgr.getPaper(); goldText.text = gold.ToString(); paperText.text = paper.ToString(); }