Use a #if statement to check if a script exists in project?

Hi all,
So I’m making a universal FPS related asset (I won’t go into detail until its closer to release) that’s made to more or less work with any FPS controller.
However that means there will be some limitations to the asset. I was thinking I’d make it have more functionality with my own FPS controller if it was found to exist in both the project and the scene. I can do a check in the scene fine, but I’m having trouble doing a check in the project. it needs to happen in a #if because obviously if the controller’s not in the project, it’d throw a ton of compiler errors.

Thanks for any advice!

@Hellium solved it in the comments, thanks!