KSP2 is still based on Unity, but Unity has changed a lot throughout the years. (It's like how Apex Legends and Half Life 2 use the "same" engine). The new entity-component-system (supposedly) makes it much easier to write games with a job oriented approach that scales to multiple cores very well.