Wireless localization and target sensing both rely on precise extraction of parameters such as signal amplitude, propagation delay, and Doppler shift from the received signals. Due to the high multi-path resolution and strong penetration, both localization and sensing can be achieved through identical UWB waveforms. In this paper, we try to properly allocate resources for localization and sensing to fully exploit the potential of UWB systems. Considering the complexity of the multi-slot networks, we derive the Fisher Information Matrix (FIM) expressions for single-slot and dual-slot integrated sensing and localization (ISAL) networks, respectively, and propose two resource optimization schemes, namely the step-by-stepscheme and the integrated scheme, respectively. The numerical results show that: (i) for the sensing-resource-limited networks with relatively uniform node distribution, the energy allocated to each step in the step-by-step scheme satisfies the relationship energy for clock offset < energy for radar localization < energy for target sensing; (ii) in the multi-slot ISAL networks, more energy will be allocated to the time slots where the networks are relatively sensing-resource-limited; (iii) the step-by-step scheme is more suitable for the sensing-resource-abundant networks, while the integrated scheme is more suitable for the sensing-resource-limited networks.