You can use GetComponet() only with game objects not with class or scripts directly . First add an empty game object in your scene and attach your sceneManager script with that empty game object. Then take a reference of that empty object in your OnTriggerEnter script and use GetComponent().
I have the best alternative for you. You can use static function . Replace your
You want to assign sceneManager with GetComponent, thats the false way. You have to attach the sceneManager-Script to any GameObject and call GetComponent on a reference to this gameObject.