Check out the TogglePlanes example here
https://github.com/Unity-Technologies/arfoundation-samples/tree/master/Assets/Scenes/Plane Detection
Script here:
… should help you
Check out the TogglePlanes example here
https://github.com/Unity-Technologies/arfoundation-samples/tree/master/Assets/Scenes/Plane Detection
Script here:
… should help you