private void TryRelease() { if (currentObject != null) { Room newRoom = roomsManager.GetRoomAt(currentObject.transform.position); currentObject.ChangeRoomTo(newRoom); currentObject.Release(); currentObject = null; } }