public static HouseData GetHouseData(GoodsType gt) { HouseData hd = new HouseData(); if (gt == GoodsType.TABLE) { hd.InitData(2.4f, 2.66f, 2, 5, new Vector2(0.7f / 2 + 0.12f, 0.4f / 2 + 0.11f)); } else if (gt == GoodsType.CABINET) { hd.InitData(2.04f, 2.68f, 2, 5, new Vector2(0.7f / 2, 0.4f / 2 + 0.15f)); } else if (gt == GoodsType.ELECTRICBOX) { hd.InitData(2.01f, 2.18f, 4, 2, new Vector2(0.5f, 0.4f * 2 - 0.1f)); } else if (gt == GoodsType.OXYGENBOTTLE) { hd.InitData(1.22f, 2.14f, 2, 2, new Vector2(0.27f, 0.4f / 2 + 0.07f)); } else if (gt == GoodsType.ALLOYCABINET) { hd.InitData(1.63f, 1.79f, 3, 2, new Vector2(0.38f, 0.45f)); } else if (gt == GoodsType.HIGHSTOVE) { hd.InitData(1.63f, 1.79f, 3, 3, new Vector2(0.1f, 0.3f)); } else if (gt == GoodsType.ELECTRICCABINET) { hd.InitData(1.63f, 1.79f, 3, 4, new Vector2(0.1f, 0.3f)); } return(hd); }