public void DecreaseFloor() { foreach (var visualizer in spawnedRumah.Values) { if (visualizer.activeSelf) { FloorController fc = visualizer.GetComponent <FloorController>(); if (fc != null) { fc.DecreaseFloor(); } } } }