public void ShowRobUI() { m_bRobTipOpened = true; float leftRate = 1.0f - (float)(m_buildData.RTData.robRate / 100); int leftCoin = (int)(m_buildData.config.GetCoin * leftRate); int leftStone = (int)(m_buildData.config.GetStone * leftRate); RobUI.OpenUI(Core.Data.stringManager.getString(5215), (int)m_buildData.config.GetCoin, leftCoin, (int)m_buildData.config.GetStone, leftStone); }
void OnBtnCancel() { _instance = null; Destroy(this.gameObject); }
void Awake() { _instance = this; }