private void RestoredShip() { this._uiShipTexture.mainTexture = this._listShipTexture.get_Item(1); this._uiShipTexture.MakePixelPerfect(); this._uiShipTexture.get_transform().set_localPosition(this._listShipOffs.get_Item(1)); BattleShips battleShips = BattleTaskManager.GetBattleShips(); battleShips.Restored(this._clsShipModel); Dlg.Call(ref this._actOnRestore); }
private void RestoredShip() { _uiShipTexture.mainTexture = _listShipTexture[1]; _uiShipTexture.MakePixelPerfect(); _uiShipTexture.transform.localPosition = _listShipOffs[1]; BattleShips battleShips = BattleTaskManager.GetBattleShips(); battleShips.Restored(_clsShipModel); Dlg.Call(ref _actOnRestore); }