/// <summary> /// Initialization method. Called by Voxel Play at startup. /// </summary> public override void Init() { env = VoxelPlayEnvironment.instance; buildingPositions = new Dictionary <Vector3, BuildingStatus>(100); // Fill models with empty blocks so they clear any terrain or vegetation inside them when placing on the world if (buildings != null && buildings.Length > 0) { for (int k = 0; k < buildings.Length; k++) { env.ModelFillInside(buildings[k]); } } }